Skip to content

Commit

Permalink
test: improve test title
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed Jun 11, 2020
1 parent 546c4a7 commit 3316d06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/user-event/__tests__/toggle-selectoptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ test('toggle options as expected', async () => {
expect(element).toHaveFormValues({select: ['1', '2']})
})

test('sets the selected prop on the selected OPTION using nodes', async () => {
test('sets the selected prop on the selected option using option html elements', async () => {
const {select, options} = setupSelect({multiple: true})
const [o1, o2, o3] = options
await userEvent.toggleSelectOptions(select, [o3, o2])
Expand Down

0 comments on commit 3316d06

Please sign in to comment.