Skip to content

armgit / mocha

Public Imported from GitHub
0

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

merged

TJ Holowaychukf3a11b371425
diff --cc index.md
index 1663c7e8,eaf64d30..5ccd22f9
--- a/index.md
+++ b/index.md
@@@ -113,13 -113,20 +114,21 @@@ Testing asynchronous code with Mocha co
})
})
+ ## Test duration
+
+ Most of the reporters support some form of displaying
+ test duration, as well as flagging tests that are slow,
+ as shown here with the "spec" reporter:
+
+ ![test duration](images/reporter-spec-duration.png)
+
## mocha(1)
- Usage: mocha [options] [files]
+ Usage: mocha [options] [files]
+
Options:
-
+
-h, --help output usage information
-V, --version output the version number
-r, --require <name> require the given module