chore(engine-ts): 🔧 Update Vitest and TypeScript configs for guide tests and engine-ts package
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
e8ac46523e
commit
489d764d7d
2 changed files with 10 additions and 14 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
|
|
@ -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"]
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue