Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 368 Bytes

File metadata and controls

28 lines (18 loc) · 368 Bytes

mocha-jested

Bring some jest API to mocha.

Features

  • Hook beforeAll as before
  • Hook afterAll as after
  • it(string) as it.todo(string)
  • it.each(table)

Install

npm install --save-dev mocha-jested

Usage

Add --ui=mocha-jested to your mocha command

mocha --ui=mocha-jested src/*.spec.ts

TODO

  • useFakeTimers