You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
496 B

import { defineConfig } from 'vitest/config';
import { sveltekit } from '@sveltejs/kit/vite';
import adapter from '@sveltejs/adapter-node';
export default defineConfig({
plugins: [sveltekit({ adapter: adapter() })],
server: {
host: '127.0.0.1',
port: 4173,
strictPort: true,
proxy: {
'/api': 'http://127.0.0.1:3001',
'/socket.io': { target: 'http://127.0.0.1:3001', ws: true },
},
},
test: { include: ['tests/**/*.test.ts'], fileParallelism: false },
});

Powered by TurnKey Linux.