test: add testing framework
This commit is contained in:
parent
bbfd2f5711
commit
99ae3402a5
12 changed files with 563 additions and 24 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue