We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b60ffff commit 4b4eebcCopy full SHA for 4b4eebc
packages/firestore/test/util/equality_matcher.ts
@@ -71,13 +71,13 @@ export function addEqualityMatcher(): void {
71
utils.flag(this, 'message', msg);
72
const left = utils.flag(this, 'object');
73
74
- chai.assert(
+ new chai.Assertion(left).assert(
75
customDeepEqual(left, right),
76
'expected #{act} to roughly deeply equal #{exp}',
77
'expected #{act} to not roughly deeply equal #{exp}',
78
left,
79
right,
80
- true
+ /*showDiff=*/ true
81
);
82
} else {
83
originalFunction.apply(this, args);
0 commit comments