Setup jest config and added example test.
This commit is contained in:
@ -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": {
|
||||
|
Reference in New Issue
Block a user