test(web): remove redundant cache key test (#8484)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
2fbe313096
commit
c8aba2587d
1 file changed
-6
@@ -7,12 +7,6 @@ import {
|
||||
} from "./diffRendering";
|
||||
|
||||
describe("buildPatchCacheKey", () => {
|
||||
it("returns a stable cache key for identical content", () => {
|
||||
const patch = "diff --git a/a.ts b/a.ts\n+console.log('hello')";
|
||||
|
||||
expect(buildPatchCacheKey(patch)).toBe(buildPatchCacheKey(patch));
|
||||
});
|
||||
|
||||
it("normalizes outer whitespace before hashing", () => {
|
||||
const patch = "diff --git a/a.ts b/a.ts\n+console.log('hello')";
|
||||
|
||||
|
||||
Reference in new issue
Block a user