Skip to content

Commit

Permalink
test: update useDataSaver test to match formatted JSON output
Browse files Browse the repository at this point in the history
  • Loading branch information
p-eye committed Dec 22, 2024
1 parent 1bac64a commit 523799b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/lib/hooks/__tests__/useDataSaver.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ describe('useDataSaver hook', () => {
};
render(<HookWrapper />);
expect(navigator.clipboard.writeText).toHaveBeenCalledWith(
JSON.stringify(content)
JSON.stringify(content, null, '\t')
);
});

Expand Down

0 comments on commit 523799b

Please sign in to comment.