| ... | @@ -7,12 +7,6 @@ import { | ... | @@ -7,12 +7,6 @@ import { |
| 7 | } from "./diffRendering"; | 7 | } from "./diffRendering"; |
| 8 | | 8 | |
| 9 | describe("buildPatchCacheKey", () => { | 9 | describe("buildPatchCacheKey", () => { |
| 10 | it("returns a stable cache key for identical content", () => { | | |
| 11 | const patch = "diff --git a/a.ts b/a.ts\n+console.log('hello')"; | | |
| 12 | | | |
| 13 | expect(buildPatchCacheKey(patch)).toBe(buildPatchCacheKey(patch)); | | |
| 14 | }); | | |
| 15 | | | |
| 16 | it("normalizes outer whitespace before hashing", () => { | 10 | it("normalizes outer whitespace before hashing", () => { |
| 17 | const patch = "diff --git a/a.ts b/a.ts\n+console.log('hello')"; | 11 | const patch = "diff --git a/a.ts b/a.ts\n+console.log('hello')"; |
| 18 | | 12 | |