Skip to content

Latest commit

 

History

History
55 lines (35 loc) · 646 Bytes

Readme.md

File metadata and controls

55 lines (35 loc) · 646 Bytes

Setup

  • assumes you're running node v10.

If you're using nvm:

nvm use .

install jasmine:

npm install

run the tests:

make test
# or
npm test

What you should see:

> jstestbase@1.0.0 test /home/harry/workspace/jstestbase
> jasmine

Randomized with seed 77974
Started
.


1 spec, 0 failures
Finished in 0.004 seconds
Randomized with seed 77974 (jasmine --random=true --seed=77974)

auto-rerun:

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