Skip to content

Commit

Permalink
Add mocha.min.js file to stacktrace filter (#3922)
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-lagerman authored and juergba committed Jun 3, 2019
1 parent 29b7615 commit f3ed729
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/utils.js
Expand Up @@ -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')
);
}

Expand Down

0 comments on commit f3ed729

Please sign in to comment.