authorgravatar for 269035359+t3-code[bot]@users.noreply.github.comt3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com> 2026-08-28 05:44:37+00:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-08-28 05:44:37+00:00
logc8aba2587d56edbf3b7872987719a12b42031f48
tree5e74946a8e233ca2becee1b10444eb3b2be52ccd
parent2fbe313096b54a3422e101ed1bcc3589f6cf371c
signature Signed by PGP key B5690EEEBB952194

test(web): remove redundant cache key test (#8484)

Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>

1 files changed, 0 insertions(+), 6 deletions(-)

apps/web/src/lib/diffRendering.test.ts-6
...@@ -7,12 +7,6 @@ import {...@@ -7,12 +7,6 @@ import {
7} from "./diffRendering";7} from "./diffRendering";
88
9describe("buildPatchCacheKey", () => {9describe("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')";
1812