We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c351fdb commit 050c581Copy full SHA for 050c581
test/waitForEmulator.ts
@@ -9,4 +9,13 @@ async function waitForEmulators(): Promise<void> {
9
});
10
}
11
12
-void waitForEmulators();
+async function waitForEmulatorsMaxTimeout(timeout: number): Promise<void> {
13
+ return new Promise((resolve, reject) => {
14
+ waitForEmulators()
15
+ .then(resolve)
16
+ .catch(reject);
17
+ setTimeout(reject, timeout);
18
+ });
19
+}
20
+
21
+void waitForEmulatorsMaxTimeout(30000);
0 commit comments