From a7b9a3a46373693352d6bc395826f409fe80e7c0 Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Wed, 24 Jul 2024 18:18:00 +0100 Subject: [PATCH] Create unit test plan --- package.json | 2 +- tests/registry.test.ts | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 tests/registry.test.ts diff --git a/package.json b/package.json index 102b607..3488a56 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/tests/registry.test.ts b/tests/registry.test.ts new file mode 100644 index 0000000..3c1aa09 --- /dev/null +++ b/tests/registry.test.ts @@ -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"); +});