Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hjwp/tdd-thursdays
basis scaffolding for a minimal js/node project with jasmine test runner
https://github.com/hjwp/tdd-thursdays
Last synced: 17 days ago
JSON representation
basis scaffolding for a minimal js/node project with jasmine test runner
- Host: GitHub
- URL: https://github.com/hjwp/tdd-thursdays
- Owner: hjwp
- License: unlicense
- Created: 2019-01-29T17:16:49.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-31T17:29:30.000Z (almost 6 years ago)
- Last Synced: 2024-10-16T09:56:37.996Z (2 months ago)
- Language: JavaScript
- Size: 13.7 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred-test - hjwp/tdd-thursdays - basis scaffolding for a minimal js/node project with jasmine test runner (JavaScript)
README
# Setup
* assumes you're running node v10.
If you're using nvm:
```sh
nvm use .
```## install jasmine:
```sh
npm install
```## run the tests:
```sh
make test
# or
npm test
```What you should see:
```
> [email protected] test /home/harry/workspace/jstestbase
> jasmineRandomized with seed 77974
Started
.1 spec, 0 failures
Finished in 0.004 seconds
Randomized with seed 77974 (jasmine --random=true --seed=77974)
```## auto-rerun:
```sh
make watch-tests
```(you may need to install "entr" with `apt install entr` or `brew install entr`)
## find our files:
* tests live in `spec/Specs.js`
* source lives in `lib/index.js`