Skip to content

Commit 523799b

Browse files
committed
test: update useDataSaver test to match formatted JSON output
1 parent 1bac64a commit 523799b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/lib/hooks/__tests__/useDataSaver.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ describe('useDataSaver hook', () => {
5959
};
6060
render(<HookWrapper />);
6161
expect(navigator.clipboard.writeText).toHaveBeenCalledWith(
62-
JSON.stringify(content)
62+
JSON.stringify(content, null, '\t')
6363
);
6464
});
6565

0 commit comments

Comments
 (0)