Files
wasm-overhead-research/vitest.config.ts
Tristan Cartledge 226aa9283a Initial commit: JavaScript to WebAssembly compilation comparison
- 5 different JS-to-WASM implementations analyzed
- QuickJS (283KB) and Javy Static (519KB) are Wasmer-compatible
- Comprehensive size analysis and runtime compatibility testing
- Complete documentation and build automation
- Wasmer v6.1.0-rc.2 dynamic linking analysis included
2025-08-18 13:51:20 +10:00

19 lines
466 B
TypeScript

import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
// Set the test timeout to 30 seconds (default is 5000ms)
// The WASM tests should take a little over 5 seconds to run
testTimeout: 30_000,
environment: "jsdom",
// Disable watch mode and parallelism due to WASM's single threaded nature
watch: false,
pool: "forks",
poolOptions: {
forks: {
singleFork: true,
},
},
},
});