diff --git a/src/adapter.js b/src/adapter.js index 176f050..f6e0e80 100644 --- a/src/adapter.js +++ b/src/adapter.js @@ -8,7 +8,7 @@ var formatError = function (error) { } // remove mocha stack entries - return stack.replace(/\n.+\/mocha\/mocha.js\?\w*\:.+(?=(\n|$))/g, '') + return stack.replace(/\n.+\/mocha\/mocha.js\?\w*:.+(?=(\n|$))/g, '') } return message