WIP: Plan tests
All checks were successful
Test / build (push) Successful in 30s

This commit is contained in:
Ethan Lane 2025-01-11 18:58:35 +00:00
parent 31cc9e056a
commit d794b30bb5
10 changed files with 204 additions and 176 deletions

View file

@ -0,0 +1,27 @@
describe("constructor", () => {
test.todo("EXPECT CommandBuilder to be defined");
});
describe("execute", () => {
test.todo("GIVEN interaction is NOT a ChatInputCommand, EXPECT nothing to happen");
test.todo("GIVEN subcommand is list, EXPECT list function to be called");
test.todo("GIVEN subcommand is use, EXPECT use function to be called");
});
describe("List", () => {
test.todo("GIVEN pageOption is null, EXPECT page to default to 0");
test.todo("GIVEN pageOption.value is undefined, EXPECT page to default to 0");
test.todo("EXPECT interaction to be replied");
});
describe("Use", () => {
test.todo("GIVEN effectDetail is not found, EXPECT error");
test.todo("GIVEN user can not use effect, EXPECT error");
test.todo("EXPECT interaction to be replied");
});