diff --git a/exercises/09.errors/02.solution.show-boundary/error-boundary.test.ts b/exercises/09.errors/02.solution.show-boundary/error-boundary.test.ts index 465fde19f..b7393eda9 100644 --- a/exercises/09.errors/02.solution.show-boundary/error-boundary.test.ts +++ b/exercises/09.errors/02.solution.show-boundary/error-boundary.test.ts @@ -6,7 +6,7 @@ const user = userEvent.setup() import './index.tsx' -testStep('Error boundary is rendered after form submission', async () => { +await testStep('Error boundary is rendered after form submission', async () => { // submit the form await user.click(await screen.findByRole('button', { name: /submit/i })) diff --git a/exercises/09.errors/03.solution.reset/error-boundary.test.ts b/exercises/09.errors/03.solution.reset/error-boundary.test.ts index 0c7c9049f..1c32bb199 100644 --- a/exercises/09.errors/03.solution.reset/error-boundary.test.ts +++ b/exercises/09.errors/03.solution.reset/error-boundary.test.ts @@ -6,7 +6,7 @@ const user = userEvent.setup() import './index.tsx' -testStep('Error boundary is rendered after form submission', async () => { +await testStep('Error boundary is rendered after form submission', async () => { // submit the form await user.click(await screen.findByRole('button', { name: /submit/i })) @@ -24,7 +24,7 @@ testStep('Error boundary is rendered after form submission', async () => { expect(form).toBeNull() }) -testStep('Clicking "Try again" resets the error boundary', async () => { +await testStep('Clicking "Try again" resets the error boundary', async () => { // Click the "Try again" button const tryAgainButton = await screen.findByRole('button', { name: /try again/i,