vitest.config.mts 314 B

1234567891011121314
  1. import { fileURLToPath, URL } from 'node:url'
  2. import { defineConfig } from 'vitest/config'
  3. export default defineConfig({
  4. resolve: {
  5. alias: {
  6. '@': fileURLToPath(new URL('./src', import.meta.url))
  7. }
  8. },
  9. test: {
  10. environment: 'node',
  11. include: ['src/components/mt-edit/**/*.spec.ts']
  12. }
  13. })