+
+ );
+}
+
+function sleep(ms: number) {
+ return new Promise((resolve) => setTimeout(resolve, ms));
+}
diff --git a/ui/store/actions.ts b/ui/store/actions.ts
index a64cd2e6bb9e..4779c6e4b5b1 100644
--- a/ui/store/actions.ts
+++ b/ui/store/actions.ts
@@ -5122,7 +5122,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 {