+
+ );
+}
+
+function sleep(ms: number) {
+ return new Promise((resolve) => setTimeout(resolve, ms));
+}
diff --git a/ui/store/actions.ts b/ui/store/actions.ts
index 1810b03d6130..4e345e14510a 100644
--- a/ui/store/actions.ts
+++ b/ui/store/actions.ts
@@ -5174,7 +5174,7 @@ export function setName(
* Throw an error in the background for testing purposes.
*
* @param message - The error message.
- * @deprecated This is only mean to facilitiate E2E testing. We should not use
+ * @deprecated This is only meant to facilitiate E2E testing. We should not use
* this for handling errors.
*/
export async function throwTestBackgroundError(message: string): Promise {