Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/unlight/mocha-jested
Bring some jest API to mocha
https://github.com/unlight/mocha-jested
jest mocha mocha-plugin mocha-ui
Last synced: 8 days ago
JSON representation
Bring some jest API to mocha
- Host: GitHub
- URL: https://github.com/unlight/mocha-jested
- Owner: unlight
- License: mit
- Created: 2022-05-02T10:42:14.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-24T15:00:11.000Z (8 months ago)
- Last Synced: 2024-06-23T09:04:24.179Z (5 months ago)
- Topics: jest, mocha, mocha-plugin, mocha-ui
- Language: JavaScript
- Homepage:
- Size: 33.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```sh
npm install --save-dev mocha-jested
```## Usage
Add `--ui=mocha-jested` to your `mocha` command
```sh
mocha --ui=mocha-jested src/*.spec.ts
```## TODO
- useFakeTimers