Files
psxbase/client/vitest.config.ts
ryanfitzpatrickio 8a96ede9f2 Initial public release of PSX Adventure Engine
Browser reference stack for PSX-era third-person adventure: fixed cameras,
inventory puzzles, Box3D physics, host-authoritative P2P co-op, and a modular
character harness. Ships the Ashgrove Precinct Level 1 investigation demo with
a full cast and nine linked rooms.
2026-07-31 06:32:43 -05:00

18 lines
514 B
TypeScript

import { defineConfig } from "vitest/config";
/**
* Engine tests run in plain Node, not jsdom.
*
* This config deliberately omits vite-plugin-solid: it switches the test
* environment to jsdom for component testing, and the systems under test here
* (physics, mover, sensors) touch no DOM. box3d-wasm is isomorphic, so these
* exercise the same wasm the browser loads.
*/
export default defineConfig({
test: {
environment: "node",
include: ["src/**/*.test.ts"],
testTimeout: 30_000,
},
});