Find code by asking what it does. A CLI for coding agents that uses Jev to discover relevant files and source context.
TypeScript ai-sdkclaude-codeclicode-searchcodexcoding-agentscontext-retrievaldeveloper-toolsjevsemantic-searchtypescriptvercel-ai-gateway
test: use a Windows-compatible inventory fixture
David Zhang5a50fedceb24
diff --git a/packages/core/test/inventory-list.test.ts b/packages/core/test/inventory-list.test.tsindex 7b5b8ae..b92b9f4 100644--- a/packages/core/test/inventory-list.test.ts+++ b/packages/core/test/inventory-list.test.ts@@ -12,7 +12,7 @@ test("inventory optionally retains eligible paths and respects exclusions and en"terraform.tfvars": 'db_password = "synthetic fixture"',"config/database.yml": "password: synthetic fixture","src/z.ts": "export const z = 1;",- "src/line\nbreak.ts": "export const a = 1;",+ "src/line break.ts": "export const a = 1;","ignored/output.ts": "ignored",".env": "hidden","server.pem": "sensitive",@@ -34,7 +34,7 @@ test("inventory optionally retains eligible paths and respects exclusions and enconst listed = await inventory({ ...input, includePaths: true });expect(listed.paths).toEqual(["config/database.yml",- "src/line\nbreak.ts",+ "src/line break.ts","src/z.ts","terraform.tfvars",]);@@ -46,7 +46,7 @@ test("inventory optionally retains eligible paths and respects exclusions and enincludePaths: true,policy: { exclude: ["config/", "*.tfvars"] },});- expect(narrowed.paths).toEqual(["src/line\nbreak.ts", "src/z.ts"]);+ expect(narrowed.paths).toEqual(["src/line break.ts", "src/z.ts"]);const bounded = await inventory({ ...input, includePaths: true, maxEntries: 2 });expect(bounded.status).toBe("incomplete");expect(bounded.paths?.length).toBe(bounded.files);