Skip to content

armgit / mocha

Public Imported from GitHub
0

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

change --slow, dont parseInt

TJ Holowaychuk1da2468bafc7
diff --git a/bin/_mocha b/bin/_mocha
index efa40852..bffb88af 100755
--- a/bin/_mocha
+++ b/bin/_mocha
@@ -63,7 +63,7 @@ program
.option('-g, --grep <pattern>', 'only run tests matching <pattern>')
.option('-i, --invert', 'inverts --grep matches')
.option('-t, --timeout <ms>', 'set test-case timeout in milliseconds [2000]')
- .option('-s, --slow <ms>', '"slow" test threshold in milliseconds [75]', parseInt)
+ .option('-s, --slow <ms>', '"slow" test threshold in milliseconds [75]')
.option('-w, --watch', 'watch files for changes')
.option('-c, --colors', 'force enabling of colors')
.option('-C, --no-colors', 'force disabling of colors')