https://github.com/zirho/node-es6-unit-test
https://github.com/zirho/node-es6-unit-test
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zirho/node-es6-unit-test
- Owner: zirho
- Created: 2017-01-24T04:16:40.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-24T18:49:32.000Z (over 9 years ago)
- Last Synced: 2025-02-04T19:45:17.544Z (over 1 year ago)
- Language: JavaScript
- Size: 25.4 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```