Skip to content

Commit 89bc8d1

Browse files
committed
test: update vitest config
Pool forks is the default since vitest v2.
1 parent 270f830 commit 89bc8d1

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

Diff for: vitest.config.ts

+2-10
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,7 @@ import { defineConfig } from "vitest/config";
22

33
export default defineConfig({
44
test: {
5-
// Prevent vitest from hanging when tests are done.
6-
// See https://github.com/vitest-dev/vitest/issues/4526#issuecomment-1817817409.
7-
pool: "forks",
8-
9-
// Package analysis tests require a lot of time.
10-
testTimeout: 60000,
11-
12-
coverage: {
13-
include: ["src/**"],
14-
},
5+
testTimeout: 60_000, // Analyzing npm packages takes time.
6+
coverage: { include: ["src/**"] },
157
},
168
});

0 commit comments

Comments
 (0)