MCPcopy
hub / github.com/garrytan/gstack / tmp

Function tmp

test/jsonl-store.test.ts:13–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11import { hasInjection, firstInjectionMatch, appendJsonl, readJsonl } from "../lib/jsonl-store";
12
13function tmp(): string {
14 return join(mkdtempSync(join(tmpdir(), "jsonl-store-")), "store.jsonl");
15}
16
17describe("hasInjection", () => {
18 it("flags instruction-like injection content", () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected