Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
12 lines
364 B
TypeScript
12 lines
364 B
TypeScript
import { describe, expect, it } from "vite-plus/test";
|
|
|
|
import { projectFileCacheKey } from "./fileContentRevision";
|
|
|
|
describe("file cache identity", () => {
|
|
it("changes for same-length edits", () => {
|
|
expect(projectFileCacheKey("/repo", "file.json", "nodeVersion")).not.toBe(
|
|
projectFileCacheKey("/repo", "file.json", "nodeVeasdrs"),
|
|
);
|
|
});
|
|
});
|