From f3ed729b6908f3893e6f87722c6e996cca5f7733 Mon Sep 17 00:00:00 2001 From: Brian Lagerman <49239617+brian-lagerman@users.noreply.github.com> Date: Mon, 3 Jun 2019 15:50:05 +0200 Subject: [PATCH] Add mocha.min.js file to stacktrace filter (#3922) --- lib/utils.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/utils.js b/lib/utils.js index 013d3ffe0a..996e843507 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') ); }