Fix stacktrace anonymous function detection

master
Frédéric Matte 2022-12-06 20:35:45 -05:00
parent 05f717ae0f
commit 7404ce12a0
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
const regAssertParser = /(.*?)\n+(.*?)\n+(( at.*?file:\/\/(.*?):(\d+):(\d+).*?\)).*)/s const regAssertParser = /(.*?)\n+(.*?)\n+(( at.*?file:\/\/(.*?):(\d+):(\d+).*?\n).*)/s
const stackParser = (stack) => { const stackParser = (stack) => {
const m = stack.match(regAssertParser) const m = stack.match(regAssertParser)