From 921d2d324621481a7a16b4f8a85e12b927132d0c Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Tue, 3 Feb 2026 08:23:33 +0000 Subject: [PATCH] Add unit tests --- tests/unit/diff.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/unit/diff.test.ts b/tests/unit/diff.test.ts index 0cf8bda..2856bb7 100644 --- a/tests/unit/diff.test.ts +++ b/tests/unit/diff.test.ts @@ -14,10 +14,10 @@ index 1234567..89abcdef 100644 @@ -1,3 +1,4 @@ +import { useState } from 'react'; function App() { - return
Hello
; + return
Hello
; } @@ -5,3 +6,4 @@ function App() { - return
Hello
; + return
Hello
; } +// comment `; @@ -64,10 +64,10 @@ describe('countDiffStats', () => { @@ -1,3 +1,4 @@ +import { useState } from 'react'; function App() { - return
Hello
; + return
Hello
; } @@ -5,3 +6,4 @@ function App() { - return
Hello
; + return
Hello
; } +// comment `;