Create unit test plan
All checks were successful
Test / build (push) Successful in 10s

This commit is contained in:
Ethan Lane 2024-07-24 18:18:00 +01:00
parent a55a5cf5da
commit ebc7d02f9a
2 changed files with 8 additions and 1 deletions

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