Added debug logging to flaky test

This commit is contained in:
Steve Gravrock
2024-11-12 20:25:20 -08:00
parent d5e7bc9fd6
commit ce9c752899

View File

@@ -757,7 +757,9 @@ describe('matchersUtil', function() {
const a2 = new TypedArrayCtor(2);
a1[0] = a2[0] = 0;
a1[1] = a2[1] = 1;
expect(matchersUtil.equals(a1, a2)).toBe(true);
const diffBuilder = new jasmineUnderTest.DiffBuilder();
expect(matchersUtil.equals(a1, a2, diffBuilder)).toBe(true);
jasmine.debugLog('Diff: ' + diffBuilder.getMessage());
}
);