Test coverage for ijs

This commit is contained in:
Tony Garnock-Jones 2018-10-27 20:38:45 +01:00
parent 51b8f425ab
commit 03d2dccffe
3 changed files with 1402 additions and 2 deletions

2
.gitignore vendored
View File

@ -1,2 +1,4 @@
scratch/ scratch/
node_modules/ node_modules/
.nyc_output/
coverage/

1396
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -13,13 +13,15 @@
}, },
"scripts": { "scripts": {
"clean": "rm -f dist/*", "clean": "rm -f dist/*",
"test": "mocha" "test": "mocha",
"cover": "nyc --reporter=html mocha"
}, },
"author": "Tony Garnock-Jones <tonyg@ccs.neu.edu>", "author": "Tony Garnock-Jones <tonyg@ccs.neu.edu>",
"devDependencies": { "devDependencies": {
"chai": "^4.2.0", "chai": "^4.2.0",
"chai-immutable": "^2.0.0-rc.2", "chai-immutable": "^2.0.0-rc.2",
"immutable": "^3.8.2", "immutable": "^3.8.2",
"mocha": "^2.5.3" "mocha": "^2.5.3",
"nyc": "^13.1.0"
} }
} }