123456789101112131415161718 |
- import { defineConfig } from 'vitest/config'
- import { svelte } from '@sveltejs/vite-plugin-svelte'
- export default defineConfig({
- plugins: [
- svelte({
- hot: false,
- })
- ],
- test: {
- globals: true,
- environment: 'jsdom',
- setupFiles: './setupVitest.ts',
- alias: [
- { find: /^svelte$/, replacement: "svelte/internal" }
- ]
- },
- });
|