Add some unit tests #321
2 changed files with 8 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
"clean": "rm -rf node_modules/ dist/",
|
"clean": "rm -rf node_modules/ dist/",
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"start": "node ./dist/bot.js",
|
"start": "node ./dist/bot.js",
|
||||||
"test": "jest --passWithNoTests",
|
"test": "jest",
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"lint:fix": "eslint . --fix",
|
"lint:fix": "eslint . --fix",
|
||||||
"db:up": "typeorm migration:run -d dist/database/dataSources/appDataSource.js",
|
"db:up": "typeorm migration:run -d dist/database/dataSources/appDataSource.js",
|
||||||
|
|
7
tests/registry.test.ts
Normal file
7
tests/registry.test.ts
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
describe("RegisterCommands", () => {
|
||||||
|
test.todo("EXPECT every command in the commands folder to be registered");
|
||||||
|
});
|
||||||
|
|
||||||
|
describe("RegisterButtonEvents", () => {
|
||||||
|
test.todo("EXEPCT every button event in the button events folder to be registered");
|
||||||
|
});
|
Loading…
Reference in a new issue