Create unit test plan

This commit is contained in:
Ethan Lane 2024-07-24 18:18:00 +01:00 committed by Vylpes
parent 097b7284e6
commit a7b9a3a463
2 changed files with 8 additions and 1 deletions

View file

@ -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",

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