Skip to content

Commit 89a1ac2

Browse files
committed
test: fix test description
1 parent a8d7fc4 commit 89a1ac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/__tests__/role.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ test('has no useful error message in findBy', async () => {
363363
)
364364
})
365365

366-
test('findBy contains a name hint', async () => {
366+
test('findBy error message for missing elements contains a name hint', async () => {
367367
const {findByRole} = render(`<button>Click me</button>`)
368368

369369
await expect(findByRole('button', {name: 'Submit'})).rejects.toThrow(

0 commit comments

Comments
 (0)