Skip to content

Commit

Permalink
[CodeFactor] Apply fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
code-factor committed Oct 27, 2023
1 parent 5f2dc9b commit 676cc18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __tests__/survey/[id]/page.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describe('Fill Survey', () => {
</AppRouterContext.Provider>
)

await waitFor(() => expect(screen.getByText('Test Survey 1')).toBeInTheDocument())
await screen.findByText('Test Survey 1')

const question1 = screen.getByText('Test question 1')
expect(question1).toBeInTheDocument()
Expand Down

0 comments on commit 676cc18

Please sign in to comment.