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
$ node -r esm /demo-uvu-error/test.js
✘ (0 / 1)
FAIL "reproduce error"
Cannot convert undefined or null to object
at hasOwnProperty (<anonymous>)
at sort (/demo-uvu-error/node_modules/uvu/diff/index.js:163:40)
at compare (/demo-uvu-error/node_modules/uvu/diff/index.js:199:21)
at assert (/demo-uvu-error/node_modules/uvu/assert/index.js:30:28)
at Proxy.equal (/demo-uvu-error/node_modules/uvu/assert/index.js:43:2)
at Object.handler (/demo-uvu-error/test.js:150:12)
at Number.runner (/demo-uvu-error/node_modules/uvu/dist/index.js:77:16)
at exec (/demo-uvu-error/node_modules/uvu/dist/index.js:131:39)
at /demo-uvu-error/node_modules/esm/esm.js:1:34535
Total: 1
Passed: 0
Skipped: 0
Duration: 2.06ms
I would, of course, expect the output to be something more like
Expected values to be deeply equal: (equal)
++{} (Expected)
--{ foo: null } (Actual)
I haven't had time to dig in to the uvu code to see what's going on.
The text was updated successfully, but these errors were encountered:
Using uvu 0.5.1 with this test:
Running via node with
-r esm
yields this output:I would, of course, expect the output to be something more like
I haven't had time to dig in to the uvu code to see what's going on.
The text was updated successfully, but these errors were encountered: