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

Function test

scripts/github-actions/check-pr-commit-policy.test.js:30–32  ·  view source on GitHub ↗
(name, check)

Source from the content-addressed store, hash-verified

28}
29
30function test(name, check) {
31 tests.push({ name, check });
32}
33
34function commit(index, message = "fix: keep CI running") {
35 return { oid: index.toString(16).padStart(40, "0"), message };

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected