Skip to content

Commit

Permalink
fix test sciprt not terminating
Browse files Browse the repository at this point in the history
  • Loading branch information
doehyunbaek committed Aug 20, 2024
1 parent 127a1a8 commit be19f19
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 };
Expand Down Expand Up @@ -109,6 +110,7 @@ async function analyzeAndSaveBenchmark(options: any, testJsPath: string, website
}
await runSliceDiceTests(testNames, options);
}
exit(0)
})();

function getPaths(name: string, options: any) {
Expand Down

0 comments on commit be19f19

Please sign in to comment.