Skip to content

Commit

Permalink
update answer to match challenge
Browse files Browse the repository at this point in the history
  • Loading branch information
tayiorbeii committed Jul 3, 2022
1 parent 4236bb1 commit 7795c7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exercise1-jest/answer/presets-custom-amounts.t.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
it('acts as one tab stop', async () => {
render(
<form>
<PresetsCustomAmounts amounts={[5, 15, 25]} />
<PresetsCustomAmounts amounts={[10, 25, 50]} />
<button>Text</button>
</form>
)

const firstRadio = screen.getByDisplayValue(5)
const firstRadio = screen.getByDisplayValue(10)
const button = screen.getByRole('button')

await user.tab()
Expand Down

0 comments on commit 7795c7b

Please sign in to comment.