Add placeholder tests
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Ethan Lane 2024-02-03 19:29:28 +00:00
parent ea6bac2af1
commit 69ef94dbb5
84 changed files with 993 additions and 7394 deletions

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

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

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

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

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