Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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`