test: remove obsolete schema version assertions

This commit is contained in:
morluto 2026-09-29 11:42:23 +08:00
parent 33b20991c4
commit fe342faa83
1 changed files with 0 additions and 4 deletions

View File

@ -172,12 +172,8 @@ describe("Ghidra headless launcher", () => {
const capturePath = join(runtimeRoot, "launch-capture.json");
await waitFor(capturePath);
const capture = JSON.parse(await readFile(capturePath, "utf8"));
const descriptor = JSON.parse(
await readFile(join(runtimeRoot, "session.json"), "utf8"),
);
const encodedArguments = JSON.stringify(capture.arguments);
const encodedEnvironment = JSON.stringify(capture.environment);
expect(descriptor).not.toHaveProperty("schema_version");
expect(encodedArguments).not.toContain(token);
expect(encodedEnvironment).not.toContain(token);
expect(capture).toMatchObject({