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
TypeError: Invalid value used as weak map key
at WeakMap.set (<anonymous>)
at file:///data/dev/cmdb/frontend/node_modules/@vitest/expect/dist/index.js:389:24
at Array.every (<anonymous>)
at file:///data/dev/cmdb/frontend/node_modules/@vitest/expect/dist/index.js:384:33
at Object.subsetEquality (file:///data/dev/cmdb/frontend/node_modules/@vitest/expect/dist/index.js:399:37)
at eq (file:///data/dev/cmdb/frontend/node_modules/@vitest/expect/dist/index.js:166:49)
at equals (file:///data/dev/cmdb/frontend/node_modules/@vitest/expect/dist/index.js:129:10)
at Proxy.<anonymous> (file:///data/dev/cmdb/frontend/node_modules/@vitest/expect/dist/index.js:931:18)
at Proxy.<anonymous> (file:///data/dev/cmdb/frontend/node_modules/@vitest/expect/dist/index.js:797:17)
at Proxy.methodWrapper (/data/dev/cmdb/frontend/node_modules/chai/lib/chai/utils/addMethod.js:57:25)
Reproduction
Not entirely sure, but I suspect a toMatchObject with an object with null keys. Like in expect(x).toMatchObject({ aNullKey: null })
Describe the bug
Lots of my tests now fail with
Reproduction
Not entirely sure, but I suspect a
toMatchObject
with an object with null keys. Like inexpect(x).toMatchObject({ aNullKey: null })
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: