| 1 | import { describe, expect, it } from "vite-plus/test"; |
| 2 | |
| 3 | import { projectFileCacheKey } from "./fileContentRevision"; |
| 4 | |
| 5 | describe("file cache identity", () => { |
| 6 | it("changes for same-length edits", () => { |
| 7 | expect(projectFileCacheKey("/repo", "file.json", "nodeVersion")).not.toBe( |
| 8 | projectFileCacheKey("/repo", "file.json", "nodeVeasdrs"), |
| 9 | ); |
| 10 | }); |
| 11 | }); |