We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 437ea5c commit 7803bd6Copy full SHA for 7803bd6
src/__tests__/role.js
@@ -1,6 +1,6 @@
1
import {configure, getConfig} from '../config'
2
-import {render, renderIntoDocument} from './helpers/test-utils'
3
import {getQueriesForElement} from '../get-queries-for-element'
+import {render, renderIntoDocument} from './helpers/test-utils'
4
5
test('by default logs accessible roles when it fails', () => {
6
const {getByRole} = render(`<h1>Hi</h1>`)
src/role-helpers.js
import {elementRoles} from 'aria-query'
-import {prettyDOM} from './pretty-dom'
import {computeAccessibleName} from 'dom-accessibility-api'
+import {prettyDOM} from './pretty-dom'
const elementRoleList = buildElementRoleList(elementRoles)
0 commit comments