-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvitest.workers.config.ts
More file actions
28 lines (27 loc) · 874 Bytes
/
vitest.workers.config.ts
File metadata and controls
28 lines (27 loc) · 874 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import { defineWorkersConfig } from "@cloudflare/vitest-pool-workers/config";
export default defineWorkersConfig({
test: {
include: ["src/**/*.test.ts"],
exclude: [
// These require native Node addons (duckdb) or disk fixture I/O (node:fs)
"src/operators-conformance.test.ts",
"src/conformance.test.ts",
"src/parquet-fixture.test.ts",
"src/manifest.test.ts",
"src/wasm-engine.integration.test.ts",
"src/query-do.integration.test.ts",
// Search tests use LocalExecutor with node:fs for append + disk I/O
"src/search/search-e2e.test.ts",
"src/search/search.bench.ts",
"src/search/cost-guard.test.ts",
"node_modules/**",
],
hookTimeout: 300_000,
testTimeout: 300_000,
poolOptions: {
workers: {
wrangler: { configPath: "./wrangler.toml" },
},
},
},
});