Added unit tests

This commit is contained in:
DaanV2
2021-08-18 20:15:02 +02:00
parent dccbc643eb
commit 7dfdb0802c
12 changed files with 293 additions and 42 deletions

View File

@@ -7,7 +7,9 @@
"test": "test"
},
"scripts": {
"test": "mocha -r ts-node/register '**/*.test.ts'",
"compile": "tsc -b",
"test": "mocha --debug-brk",
"pretest": "npm run compile",
"update": "npm update && npm audit fix"
},
"repository": {
@@ -32,5 +34,8 @@
"mocha": "^9.0.3",
"ts-loader": "^9.2.5",
"ts-node": "^10.2.0"
},
"dependencies": {
"vscode-json-languageservice": "^4.1.7"
}
}