Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/katilius/tdd-mocha-template
Template for writing scripts using TDD and mocha
https://github.com/katilius/tdd-mocha-template
babel javascript mocha tdd
Last synced: 13 days ago
JSON representation
Template for writing scripts using TDD and mocha
- Host: GitHub
- URL: https://github.com/katilius/tdd-mocha-template
- Owner: katilius
- Created: 2016-08-31T06:54:49.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-30T06:10:46.000Z (over 6 years ago)
- Last Synced: 2024-10-31T11:11:58.576Z (2 months ago)
- Topics: babel, javascript, mocha, tdd
- Language: JavaScript
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tdd-mocha-template
Template for writing scripts using TDD and mochaTo initialize:
```
npm install
```To run tests:
```
npm test
```## How to enable autocompletion for Chai assertions in IntelliJ/Webstorm ?
1. `File | Settings | Languages & Frameworks | JavaScript | Libraries`
2. Click `Download ` (select *TypeScript community stubs*)
3. Find `chai` and install.
## How to run only selected tests in IntelliJ/Webstorm (Using shortcut Ctrl + Shift + F10) ?
1. `Run/Debug Configurations | Defaults | Mocha`
2. Add `--compilers js:babel-core/register` in `Extra Mocha Options`