We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac84681 commit bd2ff2fCopy full SHA for bd2ff2f
1 file changed
tests/e2e/utils.mjs
@@ -191,11 +191,13 @@ export async function waitTestServer() {
191
}
192
193
194
-export async function runTest(targets, cb) {
195
- for (const target of targets) {
196
- const client = await getBrowserClient(target);
197
- await cb(client);
198
- }
+export function runTest(targets, cb) {
+ return Promise.all(
+ targets.map(async target => {
+ const client = await getBrowserClient(target);
+ await cb(client);
199
+ }),
200
+ );
201
202
203
export async function saveRule(popup, rule) {
0 commit comments