import { defineConfig } from 'vitest/config';

export default defineConfig({
    test: {
        include: ['src/**/*.{test,spec}.{js,ts}'],
        environment: 'jsdom',
        globals: true,
        alias: {
            '$lib': new URL('./src/lib', import.meta.url).pathname,
            '$app/environment': new URL('./src/test/mocks/app-environment.ts', import.meta.url).pathname,
        },
    },
});
