We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f33117a commit 21bdb3dCopy full SHA for 21bdb3d
1 file changed
test/common/assertSnapshot.js
@@ -18,7 +18,7 @@ const { hostname } = require('node:os');
18
* Group 6: Line end (including color codes and `{` which indicates the start of an error object details)
19
*/
20
// Mappings: (g1 ) (g2 ) (g3 ) (g4 ) (g5 ) (g6 )
21
-const internalStackFramesRegexp = /(?<=\n)(\s*(?:\x1b?\[\d+m\s+)?(?:at\s+)?)?(?:async\s+)?(?:(.+?)\s+\()?(?:(node:.+?):(\d+)(?::(\d+))?)\)?((?:\x1b?\[\d+m)?\s*{?\n|$)/g;
+const internalStackFramesRegexp = /(?<=\n)(\s*(?:\x1b?\[\d+m\s+)?(?:at\s+)?)(?:async\s+)?(?:(.+?)\s+\()?(?:(node:.+?):(\d+)(?::(\d+))?)\)?((?:\x1b?\[\d+m)?\s*{?\n|$)/g;
22
/**
23
* Group 1: Filename
24
* Group 2: Line number
0 commit comments