MCPcopy Create free account
hub / github.com/PatrickJS/awesome-cursorrules / run

Function run

scripts/check-pr-author.test.mjs:11–15  ·  view source on GitHub ↗
(args = [])

Source from the content-addressed store, hash-verified

9const now = "2026-05-11T12:00:00Z";
10
11function run(args = []) {
12 return spawnSync(process.execPath, [scriptPath, "--now", now, ...args], {
13 encoding: "utf8",
14 });
15}
16
17test("passes authors whose accounts meet the minimum age", () => {
18 const result = run([

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected