From d5cd31246b41de389cb31c2642ad2ebc71684ae2 Mon Sep 17 00:00:00 2001 From: marabesi Date: Sun, 9 Jun 2024 12:11:29 +0200 Subject: [PATCH] chore: delay of type set to 500 --- src/__test__/Clipboard.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/__test__/Clipboard.test.tsx b/src/__test__/Clipboard.test.tsx index f1aff7c..3e81330 100644 --- a/src/__test__/Clipboard.test.tsx +++ b/src/__test__/Clipboard.test.tsx @@ -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"}');