diff --git a/src/__test__/Editors.test.tsx b/src/__test__/Editors.test.tsx index 1908494..807afe6 100644 --- a/src/__test__/Editors.test.tsx +++ b/src/__test__/Editors.test.tsx @@ -56,8 +56,8 @@ describe('Editors', () => { await waitFor(() => { expect (screen.getByTestId('raw-json')).toHaveValue('{"random_json":"123"}'); - expect (screen.getByTestId('raw-result')).toHaveValue('{\n "random_json": "123"\n}'); }, { timeout: 10000 }); + expect (screen.getByTestId('raw-result')).toHaveValue('{\n "random_json": "123"\n}'); }); it('should render search element in the json editor', async () => {