Skip to content

Commit

Permalink
Add mocha.min.js file to stacktrace filter
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-lagerman committed May 17, 2019
1 parent 94033bf commit 442f38d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
);
}

Expand Down

0 comments on commit 442f38d

Please sign in to comment.