Skip to content

Commit 2ef788a

Browse files
committed
Filter GJS stack frames in AggregateError formatting test
Similar to Node
1 parent eb80381 commit 2ef788a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

spec/core/ExceptionFormatterSpec.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,9 @@ describe('ExceptionFormatter', function() {
380380
x =>
381381
!x.match(/[\/\\]jasmine\.js:/) &&
382382
// Some Node 20 and 22 minors when running in parallel
383-
!x.includes('process.processTicksAndRejections')
383+
!x.includes('process.processTicksAndRejections') &&
384+
// GJS internal frames
385+
!x.includes('resource:///org/gnome/gjs/')
384386
);
385387

386388
for (let i = 0; i < filteredLines.length; i++) {

0 commit comments

Comments
 (0)