✅(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>
This commit is contained in:
11
src/frontend/servers/y-provider/vitest.config.mts
Normal file
11
src/frontend/servers/y-provider/vitest.config.mts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { URL, fileURLToPath } from 'url';
|
||||
|
||||
import { defineConfig } from 'vitest/config';
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
alias: {
|
||||
'@': fileURLToPath(new URL('./src', import.meta.url)),
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user