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

Function makeFixture

scripts/check-repo-security.test.mjs:10–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8const scriptPath = new URL("./check-repo-security.mjs", import.meta.url).pathname;
9
10function makeFixture() {
11 return mkdtempSync(join(tmpdir(), "repo-security-"));
12}
13
14function write(root, filePath, content) {
15 const fullPath = join(root, filePath);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected