mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 11:33:30 +01:00
docs: fix typos (#9127)
* docs: fix typos * indicies -> indices * rename file --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
@@ -360,7 +360,7 @@ test('Handle unexpected 429', async () => {
|
||||
const previous = performance.now();
|
||||
let firstResolvedTime: number;
|
||||
let secondResolvedTime: number;
|
||||
const unexepectedSublimit = api.get('/unexpected').then((res) => {
|
||||
const unexpectedSublimit = api.get('/unexpected').then((res) => {
|
||||
firstResolvedTime = performance.now();
|
||||
return res;
|
||||
});
|
||||
@@ -369,7 +369,7 @@ test('Handle unexpected 429', async () => {
|
||||
return res;
|
||||
});
|
||||
|
||||
expect(await unexepectedSublimit).toStrictEqual({ test: true });
|
||||
expect(await unexpectedSublimit).toStrictEqual({ test: true });
|
||||
expect(await queuedSublimit).toStrictEqual({ test: true });
|
||||
expect(performance.now()).toBeGreaterThanOrEqual(previous + 1_000);
|
||||
// @ts-expect-error: This is intentional
|
||||
|
||||
Reference in New Issue
Block a user