You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(expect): accept array index as number in toHaveProperty (#2808)
* test(expect): add toHaveProperty array index string
* test(expect): add toHaveProperty array index number
* fix: coerce key to string primitive in expect.toHaveProperty
* fix: accept string or number array in toHaveProperty property
* test: remove ts-expect-error from toHaveProperty test for array index number
* test: expect.toHaveProperty with object key '0'
* fix: snapshot for complex object in jest-expect.test.ts
* docs: expect.toHaveProperty deep referencing using an array containing the keyPath
0 commit comments