Skip to content

Commit

Permalink
Added debug logging to flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
sgravrock committed Nov 13, 2024
1 parent d5e7bc9 commit ce9c752
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/core/matchers/matchersUtilSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
);

Expand Down

0 comments on commit ce9c752

Please sign in to comment.