diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 89e6a19..f00f037 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,7 @@ name: Builds run-name: Validate Node and Docker Builds on: - push: + pull_request: branches: - master diff --git a/tests/commands.test.ts b/tests/commands.test.ts index 80c2dc8..c6ac0e4 100644 --- a/tests/commands.test.ts +++ b/tests/commands.test.ts @@ -22,6 +22,6 @@ describe('#commands', () => { // test specific commands in the object it('references specific commands', () => { const commandsString = commands.map(e => e.name).join(', ') - expect(commandsString).toBe('thread, message-style, message-stream, toggle-chat, shutoff, modify-capacity') + expect(commandsString).toBe('thread, private-thread, message-style, message-stream, toggle-chat, shutoff, modify-capacity') }) }) \ No newline at end of file diff --git a/tests/events.test.ts b/tests/events.test.ts index d77f70e..229e2a0 100644 --- a/tests/events.test.ts +++ b/tests/events.test.ts @@ -18,6 +18,6 @@ describe('#events', () => { // test specific events in the object it('references specific events', () => { const eventsString = events.map(e => e.key.toString()).join(', ') - expect(eventsString).toBe('ready, messageCreate, interactionCreate') + expect(eventsString).toBe('ready, messageCreate, interactionCreate, threadDelete') }) }) \ No newline at end of file