Nomad changes
All checks were successful
Deploy fil (kreuzberg) / deploy (push) Successful in 49s

This commit is contained in:
Henrik Jess Nielsen
2026-06-01 23:40:55 +02:00
parent 72b1a0a6ed
commit b4c07d3693
5723 changed files with 1130655 additions and 0 deletions

25
e2e/wasm/vitest.config.local.ts generated Normal file
View File

@@ -0,0 +1,25 @@
// Local vitest configuration to handle WASM imports
import { defineConfig, mergeConfig } from "vitest/config";
import baseConfig from "./vitest.config";
export default mergeConfig(
baseConfig,
defineConfig({
test: {
// Use the default Node.js test environment with WASM support
env: {
// Mock out WASI imports
env: JSON.stringify({}),
},
// Limit parallelism to reduce memory spikes from V8 WASM isolates
fileParallelism: false,
isolate: false,
},
resolve: {
alias: {
env: new URL("./wasi-polyfill.js", import.meta.url).pathname,
wasi_snapshot_preview1: new URL("./wasi-polyfill.js", import.meta.url).pathname,
},
},
}),
);