vitest.config.js 407 B

12345678910111213
  1. import { defineConfig } from 'vitest/config'
  2. import solidPlugin from 'vite-plugin-solid';
  3. export default defineConfig({
  4. // TODO: Remove this when Solid testing library has support for Vitest 1.0, see: https://github.com/solidjs/solid-testing-library/issues/52
  5. // @ts-ignore
  6. plugins: [solidPlugin()],
  7. test: {
  8. globals: true,
  9. environment: 'jsdom',
  10. setupFiles: './setupVitest.js',
  11. },
  12. });