From be19f19e9a86f530e33ac75899d0d6fae2a34052 Mon Sep 17 00:00:00 2001 From: Doehyun Baek Date: Tue, 20 Aug 2024 09:39:50 +0900 Subject: [PATCH] fix test sciprt not terminating --- src/test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test.ts b/src/test.ts index 03448071..8158f9ae 100644 --- a/src/test.ts +++ b/src/test.ts @@ -7,6 +7,7 @@ import { execSync } from "child_process"; import { filter } from "./filter.ts"; import Benchmark, { Analyser } from "./web.ts"; import runSliceDiceTests from "./test-slice-dice.ts"; +import { exit } from "process"; type Success = { success: true }; type Failure = { success: false }; @@ -109,6 +110,7 @@ async function analyzeAndSaveBenchmark(options: any, testJsPath: string, website } await runSliceDiceTests(testNames, options); } + exit(0) })(); function getPaths(name: string, options: any) {