import {defineConfig} from 'vitest/config';
import * as path from 'path';

export default defineConfig({
    test: {
        isolate: false,
        environment: "jsdom",
        setupFiles: ['src/vitest.setup.ts'],
        environmentOptions: {
            // Increase console depth
            console: {
                depth: null
            }
        }
    },
    resolve: {
        alias: {
            '@': path.resolve(__dirname, './src'),
            'tailwind-config': path.resolve(__dirname, './tailwind.config.cjs'),
        },
    },
});
