Add tests

This commit is contained in:
Danny McCormick 2019-06-04 16:00:18 -04:00
parent eac926003b
commit 48c62836f2
8 changed files with 5250 additions and 54 deletions

View file

@ -7,7 +7,7 @@
"scripts": {
"build": "tsc",
"format": "prettier --write **/*.ts",
"test": "echo \"Error: no test specified\" && exit 1"
"test": "jest"
},
"repository": {
"type": "git",
@ -29,9 +29,13 @@
"semver": "^6.1.1"
},
"devDependencies": {
"@types/jest": "^24.0.13",
"@types/node": "^12.0.4",
"@types/semver": "^6.0.0",
"jest": "^24.8.0",
"jest-circus": "^24.7.1",
"prettier": "^1.17.1",
"ts-jest": "^24.0.2",
"typescript": "^3.5.1"
}
}