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,11 @@
describe('MessageCreate', () => {
test.todo("GIVEN verification is enabled, EXPECT function to execute");
test.todo("GIVEN verification is not enabled, EXPECT nothing to happen");
test.todo("GIVEN message.guild is null, EXPECT nothing to happen");
test.todo("GIVEN message author is a bot, EXPECT nothing to happen");
test.todo("GIVEN verification.enabled is not found, EXPECT nothing to happen");
});

View file

@ -0,0 +1,23 @@
describe("VerificationCheck", () => {
test.todo("GIVEN validation is correct, EXPECT role given");
test.todo("GIVEN validation is incorrect, EXPECT only message to be deleted");
test.todo("GIVEN message.guild is null, EXPECT nothing to happen");
test.todo("GIVEN verification.channel setting is not found, EXPECT nothing to happen");
test.todo("GIVEN channel is not found, EXPECT nothing to happen");
test.todo("GIVEN currentChannel is not found, EXPECT nothing to happen");
test.todo("GIVEN currentChannel is not the verification channel, EXPECT nothing to happen");
test.todo("GIVEN verification.code is null, EXPECT error");
test.todo("GIVEN verification.code is empty, EXPECT error");
test.todo("GIVEN verification.role is null, EXPECT error");
test.todo("GIVEN role is not found, EXPECT error");
});

View file

@ -0,0 +1,21 @@
describe('MessageDelete', () => {
test.todo('EXPECT embed to be logged');
test.todo("GIVEN message.guild is null, EXPECT nothing to happen");
test.todo("GIVEN message author is a bot, EXPECT nothing to happen");
test.todo("GIVEN event.message.delete.enabled setting is not found, EXPECT nothing to happen");
test.todo("GIVEN event is not enabled, EXPECT nothing to happen");
test.todo("GIVEN channel is ignored, EXPECT nothing to happen");
test.todo("GIVEN message content is null, EXPECT content to be defaulted");
test.todo("GIVEN message had at least 1 attachment, EXPECT attachments field to be added");
test.todo("GIVEN event.message.delete.channel setting is not found, EXPECT nothing to happen");
test.todo("GIVEN channel is not found, EXPECT nothing to happen");
});

View file

@ -0,0 +1,23 @@
describe('MessageUpdate', () => {
test.todo("EXPECT embed to be logged");
test.todo("GIVEN newMessage.guild is null, EXPECT nothing to happen");
test.todo("GIVEN message author is a bot, EXPECT nothing to happen");
test.todo("GIVEN message contents are the same, EXPECT nothing to happen");
test.todo("GIVEN event.message.update.enabled setting is not found, EXPECT nothing to happen");
test.todo("GIVEN event is not enabled, EXPECT nothing to happen");
test.todo("GIVEN channel is ignored, EXPECT nothing to happen");
test.todo("GIVEN oldMessage.content is null, EXPECT oldMessage to be defaulted");
test.todo("GIVEN newMessage.content is null, EXPECT newMessage to be defaulted");
test.todo("GIVEN event.message.delete.channel setting is not found, EXPECT nothing to happen");
test.todo("GIVEN channel is not found, EXPECT nothing to happen");
});