()
| 258 | |
| 259 | it('cancels a slash command that is cancelled before listSlashCommands resolves', async () => { |
| 260 | let releaseListSlashCommands: () => void = () => {}; |
| 261 | const slashCommandsPromise = new Promise<unknown[]>((resolve) => { |
| 262 | releaseListSlashCommands = () => resolve([]); |
| 263 | }); |