Skip to content

Commit f34bddc

Browse files
tiendqSimenB
authored andcommitted
Fix toBe incorrect expected type (#6551) (#6642)
1 parent a1034d6 commit f34bddc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/expect/src/matchers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ type ContainIterable =
4242
| HTMLCollection<any>;
4343

4444
const matchers: MatchersObject = {
45-
toBe(received: any, expected: number) {
45+
toBe(received: any, expected: any) {
4646
const comment = 'Object.is equality';
4747
const pass = Object.is(received, expected);
4848

0 commit comments

Comments
 (0)