Skip to content

Commit a653961

Browse files
author
itsik-avidan
committed
fix: fixed test assertion
1 parent b992f8a commit a653961

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/__tests__/queries.find.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ test('find rejects when something cannot be found', async () => {
118118
await expect(findByText(() => {}, qo, wo)).rejects.toThrow(
119119
'Unable to find an element using the provided matcher',
120120
)
121-
await expect(findAllByText('x2', qo, wo)).rejects.toThrow('x')
121+
await expect(findAllByText('x', qo, wo)).rejects.toThrow('x')
122122
await expect(findAllByText(() => {}, qo, wo)).rejects.toThrow(
123123
'Unable to find an element using the provided matcher',
124124
)

0 commit comments

Comments
 (0)