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

Function botThread

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

Source from the content-addressed store, hash-verified

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

Calls

no outgoing calls

Tested by

no test coverage detected