Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hexagon6/es-testing
Basic setup for developing TDD-style with all new ES-features on node
https://github.com/hexagon6/es-testing
Last synced: about 1 month ago
JSON representation
Basic setup for developing TDD-style with all new ES-features on node
- Host: GitHub
- URL: https://github.com/hexagon6/es-testing
- Owner: hexagon6
- Created: 2017-11-19T14:10:24.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-07-15T09:28:05.000Z (6 months ago)
- Last Synced: 2024-07-15T11:11:48.875Z (6 months ago)
- Language: JavaScript
- Size: 44.9 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ECMAScript 6+ testing setup for node
This project allows you to quickly start coding with ECMAScript 6+ in node with tests from the beginnning
## How to install
Install `degit` globally if you don't have it yet: `npm i -g degit`
Check out the latest commit of this repository and install dependencies:
1. `degit https://github.com/hexagon6/es-testing.git my-projectfolder`
2. `npm install` or `yarn`## How to run tests
`npm test` or `yarn test`
## Watch mode
`npm test -w` or `yarn test -w`
This command
runs tests on each save of a file and
let's you focus on your code.## Folder structure
```
├── src
│ └── index.js <- implementation
├── test
│ └── index.test.js <- tests
```## Test runner
[ava](https://www.npmjs.com/package/ava)
Enjoy!