Fix the error message printed by assertion functions to describe object properties.
Before this fix:
error: Uncaught AssertionError: Values are not equal.
[Diff] Actual / Expected
"[object Object]"
at assertEquals (ext:zinnia_runtime/vendored/asserts.bundle.js:479:11)
After the fix:
error: Uncaught AssertionError: Values are not equal.
[Diff] Actual / Expected
{
- foo: "bar",
+ foo: "123",
}
at assertEquals (ext:zinnia_runtime/vendored/asserts.bundle.js:495:11)
Expose
Deno.inspect
asZinnia.inspect
.Fix the error message printed by assertion functions to describe object properties.
Before this fix:
After the fix:
I noticed the problem while working on https://github.com/filecoin-station/spark/issues/46