☕️ Classic, reliable, trusted test framework for Node.js and the browser
Add mocha.min.js file to stacktrace filter (#3922)
Brian Lagermanf3ed729b6908
diff --git a/lib/utils.js b/lib/utils.jsindex 013d3ffe..996e8435 100644--- a/lib/utils.js+++ b/lib/utils.js@@ -723,7 +723,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'));}