Skip to content

Commit

Permalink
remove duplicate awaits
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholas-codecov committed Oct 7, 2024
1 parent 45dc646 commit c8e1d10
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -359,13 +359,13 @@ describe('CommitFileDiff', () => {
)
expect(textArea).toBeInTheDocument()

const calculator = await await within(textArea).findByText(/Calculator/)
const calculator = await within(textArea).findByText(/Calculator/)
expect(calculator).toBeInTheDocument()

const value = await await within(textArea).findByText(/value/)
const value = await within(textArea).findByText(/value/)
expect(value).toBeInTheDocument()

const calcMode = await await within(textArea).findByText(/calcMode/)
const calcMode = await within(textArea).findByText(/calcMode/)
expect(calcMode).toBeInTheDocument()
})

Expand Down

0 comments on commit c8e1d10

Please sign in to comment.