Skip to content

Commit

Permalink
chore: delay of type set to 500
Browse files Browse the repository at this point in the history
  • Loading branch information
marabesi committed Jun 9, 2024
1 parent defca5b commit d5cd312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/__test__/Clipboard.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe('Clipboard', () => {

const editor = grabCurrentEditor(screen.getByTestId('editor-container'));

await userEvent.type(editor, '{{"a":"a"}');
await userEvent.type(editor, '{{"a":"a"}', { delay: 500 });

await waitFor(() => {
expect(screen.getByTestId('raw-json')).toHaveValue('{"a":"a"}');
Expand Down

0 comments on commit d5cd312

Please sign in to comment.