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: about 2 months 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 (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-07-30T06:10:46.000Z (almost 8 years ago)
- Last Synced: 2025-02-11T18:04:52.620Z (over 1 year 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 mocha
To 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`