From fc2de634abc17764177b5eeea084d764f00ed783 Mon Sep 17 00:00:00 2001 From: Steve Gravrock Date: Sat, 28 Feb 2026 17:52:48 -0800 Subject: [PATCH] Fix test failure on Windows --- spec/core/ExceptionFormatterSpec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/core/ExceptionFormatterSpec.js b/spec/core/ExceptionFormatterSpec.js index 87b312e2..2c420d31 100644 --- a/spec/core/ExceptionFormatterSpec.js +++ b/spec/core/ExceptionFormatterSpec.js @@ -372,7 +372,7 @@ describe('ExceptionFormatter', function() { // Exclude lines that vary from environment to environment const filteredLines = lines.filter( x => - !x.includes('/jasmine.js:') && + !x.match(/[\/\\]jasmine\.js:/) && // Some Node 20 and 22 minors when running in parallel !x.includes('process.processTicksAndRejections') );