Files
vercel__workflow/vitest.config.ts
JJ Kasper 0f557d5ae4 Statically inject workflow world target (#2752)
* Statically inject workflow world target

* Fix static world injection in host bundles

* Fix static world injection gaps

* Fix Vite Nitro server startup

* Fix Nitro pg-native aliasing

* Fix static world target CI gaps

* Fix static world dev rebuild gaps

* Avoid broad runtime alias in Nitro

* Refresh Next dev route for step HMR

* Externalize Nest target world

* Use canary HMR rediscovery timeout

* Bundle local world in Nest builds

* Dedupe world target helpers and fix SvelteKit chunk patch guard
2026-07-06 14:19:45 -07:00

19 lines
394 B
TypeScript

import { fileURLToPath } from 'node:url';
import { defineConfig } from 'vitest/config';
export default defineConfig({
resolve: {
alias: {
'@workflow/core/runtime/world-target': fileURLToPath(
new URL('./packages/world-local/src/index.ts', import.meta.url)
),
},
},
test: {
testTimeout: 60_000,
},
benchmark: {
include: ['**/*.bench.ts'],
},
});