Skip to content

Commit 3b707d6

Browse files
committed
Mock makePaginatedMessage
1 parent ae59ed3 commit 3b707d6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/globalSetup.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ vi.mock('@oldschoolgg/toolkit/discord-util', async () => {
1717
...mockInteraction({ userId: message.author.id })
1818
});
1919
}),
20-
mentionCommand: vi.fn().mockReturnValue('true')
20+
mentionCommand: vi.fn().mockReturnValue('true'),
21+
makePaginatedMessage: vi.fn(() => {
22+
return Promise.resolve();
23+
})
2124
};
2225
});
2326

0 commit comments

Comments
 (0)