Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

add pass-through of --trace flags. Closes #394

TJ Holowaychukc3a3f725237b
diff --git a/bin/mocha b/bin/mocha
index 00e8bec4..ff4306b3 100755
--- a/bin/mocha
+++ b/bin/mocha
@@ -16,6 +16,8 @@ process.argv.slice(2).forEach(function (arg) {
case 'debug':
case '--debug':
case '--debug-brk':
+ case '--trace-gc':
+ case '--trace-gc-verbose':
args.unshift(arg);
break;
case '-gc':