card-drop/tests/commands/effects.test.ts
Ethan Lane d794b30bb5
All checks were successful
Test / build (push) Successful in 30s
WIP: Plan tests
2025-01-11 18:58:35 +00:00

27 lines
No EOL
812 B
TypeScript

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