This commit is contained in:
parent
ea6bac2af1
commit
69ef94dbb5
84 changed files with 993 additions and 7394 deletions
7
tests/client/interactionCreate/button.test.ts
Normal file
7
tests/client/interactionCreate/button.test.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
describe('onButtonClicked', () => {
|
||||
test.todo("EXPECT button event to be executed");
|
||||
|
||||
test.todo("GIVEN interaction is not a button, EXEPCT nothing to happen");
|
||||
|
||||
test.todo("GIVEN button event is not registered, EXPECT error");
|
||||
});
|
9
tests/client/interactionCreate/chatInputCommand.test.ts
Normal file
9
tests/client/interactionCreate/chatInputCommand.test.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
describe('onChatInput', () => {
|
||||
test.todo("GIVEN command is registered globally AND command is found, execute the global command");
|
||||
|
||||
test.todo("GIVEN command is registered to a single server, execute the server command");
|
||||
|
||||
test.todo("GIVEN interaction is not a chat input command, EXPECT nothing to happen");
|
||||
|
||||
test.todo("GIVEN command is registered globally AND command is not found, EXPECT error");
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue