test: add testing framework

This commit is contained in:
M. George Hansen 2020-05-30 11:41:23 -07:00
parent 36536fef33
commit 7e9bed9d56
12 changed files with 563 additions and 24 deletions

View file

@ -24,7 +24,8 @@
"scripts": {
"build": "tsc",
"clean": "ts-node scripts/clean.ts",
"prepublishOnly": "npm run clean && npm run build"
"prepublishOnly": "npm run clean && npm run build",
"test": "ts-node --project=test/tsconfig.json test/run-tests.ts"
},
"devDependencies": {
"@types/node": "~12",