diff --git a/games/age-of-dwarves/guide/vitest.config.ts b/games/age-of-dwarves/guide/vitest.config.ts index 24282aba..6bcef937 100644 --- a/games/age-of-dwarves/guide/vitest.config.ts +++ b/games/age-of-dwarves/guide/vitest.config.ts @@ -5,6 +5,16 @@ export default defineConfig({ test: { environment: 'node', globals: true, + // WASM-dependent simulation tests require a browser runtime. + // They are run separately via `pnpm test:wasm` when the WASM build is available. + exclude: [ + '**/node_modules/**', + '**/simulation/__tests__/abiotic-biome-check.test.ts', + '**/simulation/__tests__/ecology-golden-vectors.test.ts', + '**/simulation/__tests__/planet-lifecycle.test.ts', + '**/simulation/__tests__/polar-hex-grid.test.ts', + '**/simulation/__tests__/water-cycle.test.ts', + ], }, resolve: { alias: { diff --git a/packages/engine-ts/tsconfig.json b/packages/engine-ts/tsconfig.json deleted file mode 100644 index 12b6efc2..00000000 --- a/packages/engine-ts/tsconfig.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "compilerOptions": { - "target": "ES2020", - "lib": ["ES2020", "DOM"], - "module": "ESNext", - "moduleResolution": "bundler", - "allowImportingTsExtensions": true, - "resolveJsonModule": true, - "isolatedModules": true, - "noEmit": true, - "strict": true - }, - "include": ["src"] -}