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 a8d7fc4 commit 89a1ac2Copy full SHA for 89a1ac2
src/__tests__/role.js
@@ -363,7 +363,7 @@ test('has no useful error message in findBy', async () => {
363
)
364
})
365
366
-test('findBy contains a name hint', async () => {
+test('findBy error message for missing elements contains a name hint', async () => {
367
const {findByRole} = render(`<button>Click me</button>`)
368
369
await expect(findByRole('button', {name: 'Submit'})).rejects.toThrow(
0 commit comments