From ce9c7528990a11b414ea18a2b56b2840f7381d40 Mon Sep 17 00:00:00 2001 From: Steve Gravrock Date: Tue, 12 Nov 2024 20:25:20 -0800 Subject: [PATCH] Added debug logging to flaky test --- spec/core/matchers/matchersUtilSpec.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/core/matchers/matchersUtilSpec.js b/spec/core/matchers/matchersUtilSpec.js index 2229aafc..83d5fb1d 100644 --- a/spec/core/matchers/matchersUtilSpec.js +++ b/spec/core/matchers/matchersUtilSpec.js @@ -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()); } );