refactor(schema): remove data-only version markers
This commit is contained in:
@@ -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", () => {});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user