Reverse engineer anything with agents, from app behavior down to native binaries.
TypeScript agent-skillsai-agentsbinary-analysisclaude-codeclicodexcordisdecompilerdeveloper-toolsdshdsh-pluginghidrahopperllmmcpmodel-context-protocolreareverse-engineeringstatic-analysistouhou
test(reference-source): avoid filesystem enumeration order assumptions
morlutoe62e92526cb9
diff --git a/tests/boundary/filesystem/referenceSourceReader.test.ts b/tests/boundary/filesystem/referenceSourceReader.test.tsindex e4b1e1c8a..c4a805585 100644--- a/tests/boundary/filesystem/referenceSourceReader.test.ts+++ b/tests/boundary/filesystem/referenceSourceReader.test.ts@@ -176,10 +176,13 @@ describe("readReferenceSource failures and exclusions", () => {});if (!result.ok) throw result.error;- expect(checked).toEqual([- ["ignored", "directory"],- ["kept", "file"],- ]);+ expect(checked).toHaveLength(2);+ expect(checked).toEqual(+ expect.arrayContaining([+ ["ignored", "directory"],+ ["kept", "file"],+ ]),+ );expect(result.value.entries.map(({ path }) => path)).toEqual(["kept"]);});