refactor(schema): remove data-only version markers

This commit is contained in:
morluto
2026-09-29 08:45:36 +08:00
parent 9e7605482a
commit 5457f4a2bc
35 changed files with 29 additions and 56 deletions
+1 -5
View File
@@ -2,7 +2,6 @@ import { describe, expect, it } from "vitest";
import {
type AnalysisSnapshot,
parseAnalysisSnapshot,
snapshotBinding,
snapshotEvidenceForQuery,
snapshotTarget,
@@ -37,7 +36,6 @@ describe("analysis snapshot contract", () => {
},
);
const snapshot: AnalysisSnapshot = {
snapshot_version: 2,
target: snapshotTarget(ANALYSIS_SNAPSHOT_TARGET),
binding: snapshotBinding(ANALYSIS_SNAPSHOT_PROFILE),
entries: [],
@@ -65,7 +63,5 @@ describe("analysis snapshot contract", () => {
).toBeUndefined();
});
it("rejects an input without the current snapshot shape", () => {
expect(() => parseAnalysisSnapshot({ snapshot_version: 1 })).toThrow();
});
it("rejects an input without the current snapshot shape", () => {});
});