Skip to content

Commit

Permalink
chore: remove outdated code comments (#665)
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Jun 23, 2020
1 parent a2a3212 commit 260e1e8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/__tests__/element-queries.js
Original file line number Diff line number Diff line change
Expand Up @@ -531,15 +531,11 @@ test('queryAllByRole returns semantic html elements', () => {
expect(queryAllByRole(/heading/i)).toHaveLength(6)
expect(queryAllByRole('list')).toHaveLength(2)
expect(queryAllByRole(/listitem/i)).toHaveLength(3)
// TODO: with https://github.com/A11yance/aria-query/pull/42
// the actual value will match `toHaveLength(2)`
expect(queryAllByRole(/textbox/i)).toHaveLength(2)
expect(queryAllByRole(/checkbox/i)).toHaveLength(1)
expect(queryAllByRole(/radio/i)).toHaveLength(1)
expect(queryAllByRole('row')).toHaveLength(3)
expect(queryAllByRole(/rowgroup/i)).toHaveLength(2)
// TODO: with https://github.com/A11yance/aria-query/pull/42
// the actual value will match `toHaveLength(3)`
expect(queryAllByRole(/(table)|(textbox)/i)).toHaveLength(3)
expect(queryAllByRole(/img/i)).toHaveLength(1)
expect(queryAllByRole('meter')).toHaveLength(1)
Expand Down

0 comments on commit 260e1e8

Please sign in to comment.