From 442f38d977fff7624d48d657bc425913cf0c85ac Mon Sep 17 00:00:00 2001 From: Brian Lagerman Date: Fri, 17 May 2019 14:42:56 +0200 Subject: [PATCH] Add mocha.min.js file to stacktrace filter --- lib/utils.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/utils.js b/lib/utils.js index 93005cedf2..2b6bd07860 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -718,7 +718,8 @@ exports.stackTraceFilter = function() { function isMochaInternal(line) { return ( ~line.indexOf('node_modules' + slash + 'mocha' + slash) || - ~line.indexOf(slash + 'mocha.js') + ~line.indexOf(slash + 'mocha.js') || + ~line.indexOf(slash + 'mocha.min.js') ); }