MCPcopy Create free account
hub / github.com/alibaba/open-code-review / botThread

Function botThread

scripts/github-actions/post-review-comments.test.js:6173–6187  ·  view source on GitHub ↗
(over = {})

Source from the content-addressed store, hash-verified

6171// the one shape that is resolvable. Every case below is this minus exactly one
6172// condition.
6173function botThread(over = {}) {
6174 return Object.assign(
6175 {
6176 id: "T1",
6177 path: "src/a.js",
6178 isOutdated: true,
6179 isResolved: false,
6180 originalLine: 10,
6181 originalStartLine: null,
6182 comments: { nodes: [{ author: { login: BOT } }] },
6183 root: { nodes: [{ body: OURS }] },
6184 },
6185 over
6186 );
6187}
6188
6189function resolveArgs(gh, core, over = {}) {
6190 return Object.assign(

Calls

no outgoing calls

Tested by

no test coverage detected