This repository has been archived on 2026-03-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
docs/src/frontend/servers/y-provider/vitest.config.mts
Stephan Meijer f3c9c41b86 (frontend) switch to vitest and enhance testability
Migrated from jest to vitest for server/y-provider, gaining faster runs,
esm-native support and cleaner mocking.

Signed-off-by: Stephan Meijer <me@stephanmeijer.com>
2025-07-04 17:04:28 +02:00

12 lines
220 B
TypeScript

import { URL, fileURLToPath } from 'url';
import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url)),
},
},
});