Credit to devdocs.io
Back
Forward
Menu
Home
Clear search
mocha
API Mirror
mocha
27
API
after()
afterEach()
before()
beforeEach()
context()
describe()
done()
exports
it()
mocha
mocha.allowUncaught()
mocha.checkLeaks()
mocha.globals()
mocha.opts
mocha.run()
mocha.setup()
only()
require
setup()
skip()
specify()
suite()
suiteSetup()
suiteTeardown()
teardown()
test()
timeout()
21
Manual
Arrow Functions
Assertions
Asynchronous Code
Detects Multiple Calls to done()
Diffs
Dynamically Generating Tests
Editor Plugins
Exclusive Tests
Hooks
Inclusive Tests
Interfaces
Pending Tests
QUnit
Reporters
Retry Tests
Run Cycle Overview
Running Mocha in the Browser
Synchronous Code
Test duration
The test/ Directory
Timeouts
mocha
API
Manual
Stackoverflow
Slideshare
Speakerdeck