This commit is contained in:
parent
3c45410932
commit
a7b3079fcd
5 changed files with 108 additions and 0 deletions
17
tests/commands/304276391837302787/moons.test.ts
Normal file
17
tests/commands/304276391837302787/moons.test.ts
Normal file
|
@ -0,0 +1,17 @@
|
|||
describe("constructor", () => {
|
||||
test.todo("EXPECT CommandBuilder to be valid");
|
||||
});
|
||||
|
||||
describe("execute", () => {
|
||||
describe("GIVEN subcommand is list", () => {
|
||||
test.todo("EXPECT ListMoons executed");
|
||||
});
|
||||
|
||||
describe("GIVEN subcommand is add", () => {
|
||||
test.todo("EXPECT AddMoon executed");
|
||||
});
|
||||
|
||||
describe("GIVEN interaction.isChatInputCommand is false", () => {
|
||||
test.todo("EXPECT nothing to happen");
|
||||
});
|
||||
});
|
17
tests/commands/304276391837302787/moons/add.test.ts
Normal file
17
tests/commands/304276391837302787/moons/add.test.ts
Normal file
|
@ -0,0 +1,17 @@
|
|||
describe("GIVEN valid input", () => {
|
||||
test.todo("EXPECT interaction replied");
|
||||
|
||||
test.todo("EXPECT embed details are correct");
|
||||
});
|
||||
|
||||
describe("GIVEN description is undefined", () => {
|
||||
test.todo("EXPECT error replied");
|
||||
|
||||
test.todo("EXPECT function returned");
|
||||
});
|
||||
|
||||
describe("GIVEN description is more than 255 characters long", () => {
|
||||
test.todo("EXPECT error replied");
|
||||
|
||||
test.todo("EXPECT function returned");
|
||||
});
|
39
tests/commands/304276391837302787/moons/list.test.ts
Normal file
39
tests/commands/304276391837302787/moons/list.test.ts
Normal file
|
@ -0,0 +1,39 @@
|
|||
describe("GIVEN valid input", () => {
|
||||
test.todo("EXPECT interaction replied");
|
||||
|
||||
test.todo("EXPECT embed information to be correct");
|
||||
|
||||
test.todo("EXPECT component information to be correct");
|
||||
|
||||
describe("GIVEN it is the first page", () => {
|
||||
test.todo("EXPECT Previous button to be disabled");
|
||||
});
|
||||
|
||||
describe("GIVEN it is the last page", () => {
|
||||
test.todo("EXPECT Next button to be disabled");
|
||||
});
|
||||
});
|
||||
|
||||
describe("GIVEN interaction.guild is undefined", () => {
|
||||
test.todo("EXPECT nothing to happen");
|
||||
});
|
||||
|
||||
describe("GIVEN userId is not supplied", () => {
|
||||
test.todo("EXPECT nothing to happen");
|
||||
});
|
||||
|
||||
describe("GIVEN page is not supplied", () => {
|
||||
test.todo("EXPECT nothing to happen");
|
||||
});
|
||||
|
||||
describe("GIVEN moons object is undefined", () => {
|
||||
test.todo("EXPECT error replied");
|
||||
|
||||
test.todo("EXPECT function returned");
|
||||
});
|
||||
|
||||
describe("GIVEN moons for user is 0", () => {
|
||||
test.todo("EXPECT error replied");
|
||||
|
||||
test.todo("EXPECT function returned");
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue