From 523799b89219dffd17d6622f32242385e7bb9159 Mon Sep 17 00:00:00 2001 From: p-eye Date: Sun, 22 Dec 2024 11:03:12 +0900 Subject: [PATCH] test: update useDataSaver test to match formatted JSON output --- frontend/src/lib/hooks/__tests__/useDataSaver.spec.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/lib/hooks/__tests__/useDataSaver.spec.tsx b/frontend/src/lib/hooks/__tests__/useDataSaver.spec.tsx index 9b125575d..ea180962d 100644 --- a/frontend/src/lib/hooks/__tests__/useDataSaver.spec.tsx +++ b/frontend/src/lib/hooks/__tests__/useDataSaver.spec.tsx @@ -59,7 +59,7 @@ describe('useDataSaver hook', () => { }; render(); expect(navigator.clipboard.writeText).toHaveBeenCalledWith( - JSON.stringify(content) + JSON.stringify(content, null, '\t') ); });