diff --git a/local-tests/setup/tinny-utils.ts b/local-tests/setup/tinny-utils.ts index 35ede2f75..2be285519 100644 --- a/local-tests/setup/tinny-utils.ts +++ b/local-tests/setup/tinny-utils.ts @@ -54,7 +54,10 @@ export function randomSolanaPrivateKey() { * @param ms - The timeout duration in milliseconds. * @returns A new promise that resolves or rejects based on the original promise or the timeout. */ -export function withTimeout(promise: Promise, ms: number): Promise { +export function withTimeout( + promise: Promise, + ms: number +): Promise { const timeout = new Promise((_, reject) => setTimeout(() => reject(new Error('Timed out')), ms) );