Add Jest as a development dependency for unit tests

This commit is contained in:
Christian Paul 2018-10-18 00:45:47 -07:00
parent 24737f3db9
commit 23d5b4db16
2 changed files with 5053 additions and 5 deletions

5053
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -5,7 +5,7 @@
"main": "main.js", "main": "main.js",
"scripts": { "scripts": {
"start": "node main", "start": "node main",
"test": "echo \"Error: no test specified\" && exit 1" "test": "jest"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@ -44,6 +44,7 @@
"x256": "0.0.2" "x256": "0.0.2"
}, },
"devDependencies": { "devDependencies": {
"eslint": "^5.7.0" "eslint": "^5.7.0",
"jest": "^23.6.0"
} }
} }