Setup jest config and added example test.

This commit is contained in:
2023-10-06 17:18:42 -04:00
parent 00ebe3afd9
commit a9b48a420f
6 changed files with 159 additions and 7 deletions

View File

@ -6,7 +6,7 @@
"scripts": {
"start": "node dist/index.js",
"lint": "eslint . --fix",
"test": "jest --coverage --verbose"
"test": "jest test/ --config jest.config.ts"
},
"author": "",
"license": "GPL-3.0-or-later",
@ -19,6 +19,7 @@
"eslint": "^8.50.0",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
},
"dependencies": {