Add some unit tests #321

Merged
Vylpes merged 3 commits from feature/15-unit-tests into develop 2024-07-26 18:31:06 +01:00
2 changed files with 8 additions and 1 deletions
Showing only changes of commit a7b9a3a463 - Show all commits

View file

@ -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
View 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");
});