This commit is contained in:
parent
ea6bac2af1
commit
69ef94dbb5
84 changed files with 993 additions and 7394 deletions
25
tests/commands/501231711271780357/Lobby/add.test.ts
Normal file
25
tests/commands/501231711271780357/Lobby/add.test.ts
Normal file
|
@ -0,0 +1,25 @@
|
|||
describe('constuctor', () => {
|
||||
test.todo("EXPECT properties to be set");
|
||||
});
|
||||
|
||||
describe('execute', () => {
|
||||
test.todo("EXPECT channel to be added to the lobby database table");
|
||||
|
||||
test.todo("GIVEN channel is null, EXPECT error");
|
||||
|
||||
test.todo("GIVEN channel.channel is undefined, EXPECT error");
|
||||
|
||||
test.todo("GIVEN role is null, EXPECT error");
|
||||
|
||||
test.todo("GIVEN role.role is undefined, EXPECT error");
|
||||
|
||||
test.todo("GIVEN cooldown is null, EXPECT error");
|
||||
|
||||
test.todo("GIVEN cooldown.value is undefined, EXPECT error");
|
||||
|
||||
test.todo("GIVEN gameName is null, EXPECT error");
|
||||
|
||||
test.todo("GIVEN gameName.value is undefined, EXPECT error");
|
||||
|
||||
test.todo("GIVEN channel has already been set up in the database, EXPECT error");
|
||||
});
|
9
tests/commands/501231711271780357/Lobby/list.test.ts
Normal file
9
tests/commands/501231711271780357/Lobby/list.test.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
describe('constructor', () => {
|
||||
test.todo("EXPECT properties to be set");
|
||||
});
|
||||
|
||||
describe("execute", () => {
|
||||
test.todo('EXPECT list of lobby channels to be sent');
|
||||
|
||||
test.todo("GIVEN interaction.guild is null, EXPECT error");
|
||||
});
|
13
tests/commands/501231711271780357/Lobby/lobby.test.ts
Normal file
13
tests/commands/501231711271780357/Lobby/lobby.test.ts
Normal file
|
@ -0,0 +1,13 @@
|
|||
describe('constructor', () => {
|
||||
test.todo("EXPECT properties to be set");
|
||||
});
|
||||
|
||||
describe("execute", () => {
|
||||
test.todo("EXPECT lobby command to announce a lobby setup");
|
||||
|
||||
test.todo("GIVEN interaction.channelId is null, EXPECT nothing to happen");
|
||||
|
||||
test.todo("GIVEN channel is not setup in the database as a lobby, EXPECT error");
|
||||
|
||||
test.todo("GIVEN lobby command was last used within the cooldown, EXPECT error");
|
||||
});
|
13
tests/commands/501231711271780357/Lobby/remove.test.ts
Normal file
13
tests/commands/501231711271780357/Lobby/remove.test.ts
Normal file
|
@ -0,0 +1,13 @@
|
|||
describe('constructor', () => {
|
||||
test.todo("EXPECT properties to be set");
|
||||
});
|
||||
|
||||
describe("execute", () => {
|
||||
test.todo("EXPECT channel to be removed from database");
|
||||
|
||||
test.todo("GIVEN channel is null, EXPECT error");
|
||||
|
||||
test.todo("GIVEN channel.channel is undefined, EXPECT error");
|
||||
|
||||
test.todo("GIVEN channel is not set up as a lobby, EXPECT error");
|
||||
});
|
13
tests/commands/501231711271780357/entry.test.ts
Normal file
13
tests/commands/501231711271780357/entry.test.ts
Normal file
|
@ -0,0 +1,13 @@
|
|||
describe('constructor', () => {
|
||||
test.todo("EXPECT properties to be set");
|
||||
});
|
||||
|
||||
describe("execute", () => {
|
||||
test.todo("EXPECT entry embed to be sent");
|
||||
|
||||
test.todo("GIVEN interaction.guildId is null, EXPECT error");
|
||||
|
||||
test.todo("GIVEN interaction.channel is null, EXPECT error");
|
||||
|
||||
test.todo("GIVEN channels.rules setting is not set, EXPECT channel id to be defaulted");
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue