fork of hey-api/openapi-ts because I need some additional things
at main 14 lines 410 B view raw
1import { fileURLToPath } from 'node:url'; 2 3import { createVitestConfig } from '@config/vite-base'; 4import { sveltekit } from '@sveltejs/kit/vite'; 5 6export default async () => { 7 const sveltekitPlugins = await sveltekit(); 8 return createVitestConfig(fileURLToPath(new URL('./', import.meta.url)), { 9 plugins: [sveltekitPlugins], 10 test: { 11 include: ['src/**/*.{test,spec}.{js,ts}'], 12 }, 13 }); 14};