Add some unit tests (#321)
- Add some unit tests to the project - These aren't massive, more just checks to ensure certain things are as they should - Such as checking all commands are actually registered #15 Reviewed-on: #321 Reviewed-by: VylpesTester <tester@vylpes.com> Co-authored-by: Ethan Lane <ethan@vylpes.com> Co-committed-by: Ethan Lane <ethan@vylpes.com>
This commit is contained in:
parent
097b7284e6
commit
ff9f3e458e
2 changed files with 67 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
"clean": "rm -rf node_modules/ dist/",
|
||||
"build": "tsc",
|
||||
"start": "node ./dist/bot.js",
|
||||
"test": "jest --passWithNoTests",
|
||||
"test": "jest",
|
||||
"lint": "eslint .",
|
||||
"lint:fix": "eslint . --fix",
|
||||
"db:up": "typeorm migration:run -d dist/database/dataSources/appDataSource.js",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue