vylbot-app/tests/commands/Role/config.test.ts

21 lines
669 B
TypeScript
Raw Normal View History

2024-02-03 19:29:28 +00:00
describe('constructor', () => {
test.todo('EXPECT properties to be set');
});
describe("execute", () => {
test.todo("GIVEN role is marked as assignable, EXPECT role to be removed");
test.todo("GIVEN role is not marked as assignable, EXPECT role to be added");
test.todo("GIVEN interaction.guildId is null, EXPECT error");
test.todo("GIVEN interaction.guild is null, EXPECT error");
test.todo("GIVEN interaction.member is null, EXPECT error");
test.todo("GIVEN role is null, EXPECT error");
test.todo("GIVEN role.role is undefined, EXPECT error");
test.todo("GIVEN server is not configured in the database, EXPECT error");
});