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

https://github.com/zirho/node-es6-unit-test


https://github.com/zirho/node-es6-unit-test

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

### Simply clone this and start writing es6 code and unit tests

This package includes
* support for ES6 including stage 0 specs
* babel
* eslint
* mocha
* should

#### Prerequisites

* install nodejs 4+
* install yarn

#### Clone and install dependencies

```
clone https://github.com/zirho/node-es6-unit-test
cd node-es6-unit-test
yarn install
```

#### Watch and run unit tests
```
yarn test
```

#### Run unit tests once
```
yarn test-once
```

#### put your codes

This is where your code goes in
```
src/code.js
```

This is where your unit tests goes in
```
src/code.test.js
```