Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkent committed Jan 19, 2024
1 parent c908f1f commit 469b9f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ describe('CodeSnippet', () => {

const copybutton = screen.getByRole('button', { name: 'copy' });
userEvent.click(copybutton);
expect(navigator.clipboard.writeText).toHaveBeenCalledWith('\nexample 1\nexample 2');
expect(navigator.clipboard.writeText).toHaveBeenCalledWith('example 1\nexample 2');
});
});
});

0 comments on commit 469b9f8

Please sign in to comment.