From 830bb3a02ebaad6f2d0a48f8b0a34233123dfdb7 Mon Sep 17 00:00:00 2001 From: James Prevett Date: Thu, 16 Jan 2025 20:19:24 -0600 Subject: [PATCH] Add missing `await`s --- scripts/test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/test.js b/scripts/test.js index b1e557b1..76d74e7f 100755 --- a/scripts/test.js +++ b/scripts/test.js @@ -170,7 +170,7 @@ for (const setupFile of positionals) { !options.quiet && console.log('Running tests:', setupFile); process.env.SETUP = setupFile; - const { pass, fail } = status(setupFile); + const { pass, fail } = await status(setupFile); try { execSync( @@ -186,9 +186,9 @@ for (const setupFile of positionals) { stdio: ['ignore', options.verbose ? 'inherit' : 'ignore', 'inherit'], } ); - pass(); + await pass(); } catch { - fail(); + await fail(); } }