Adding jest coverage

This commit is contained in:
James Barnsley
2020-08-03 21:02:18 +12:00
parent 48adeeac7f
commit 4d56b73863
76 changed files with 63793 additions and 75 deletions

View File

@ -68,7 +68,7 @@
"webpack-strip": "0.1.0"
},
"scripts": {
"jest": "jest",
"test": "jest",
"start": "webpack-dev-server",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
@ -80,6 +80,7 @@
},
"jest": {
"verbose": true,
"collectCoverage": true,
"setupFilesAfterEnv": [
"./tests/setup.js"
]