Bring some jest API to mocha.
- Hook
beforeAll
asbefore
- Hook
afterAll
asafter
it(string)
asit.todo(string)
it.each(table)
npm install --save-dev mocha-jested
Add --ui=mocha-jested
to your mocha
command
mocha --ui=mocha-jested src/*.spec.ts
- useFakeTimers