import { defineConfig } from "vitest/config";
import react from "@vitejs/plugin-react";

export default defineConfig({
  plugins: [react()],
  test: {
    environment: "jsdom",
    globals: true,
    setupFiles: "./tests/setup.js",
    testTimeout: 10000 // 10 seconds (in milliseconds)
  },
  css: {
    preprocessorOptions: {
      scss: {
        silenceDeprecations: ["import"] // Suppress @import warnings
      }
    }
  }
});
