import { defineConfig } from 'vite'
import { defaultExclude } from 'vitest/config'

export default defineConfig({
  test: {
    exclude: [...defaultExclude, '**/fixtures', '**/vitest-test-*/**'],
    snapshotFormat: {
      printBasicPrototype: true,
    },
    testTimeout: process.env.CI ? 60_000 : 5_000,
  },
})
