From 0a8737ae3b11c5acbb7fbd9a89670d967ec66e51 Mon Sep 17 00:00:00 2001 From: Varun Ramesh Date: Thu, 7 Sep 2023 23:23:06 -0700 Subject: [PATCH] Don't clutter output with build logs. --- tests/browser-unit.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/browser-unit.test.ts b/tests/browser-unit.test.ts index 1c5c4ef..8dc0f7d 100644 --- a/tests/browser-unit.test.ts +++ b/tests/browser-unit.test.ts @@ -7,7 +7,7 @@ import * as mime from "mime-types"; import * as util from "util"; test('Browser Unit Tests', async () => { - child_process.spawnSync('npm', ['run', 'build:dev'], { stdio: 'inherit' }); + child_process.execSync("npm run build:dev"); const PORT = 3000; const ROOT_PATH = path.join(process.cwd(), "./dist");