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