15 lines
345 B
TypeScript
15 lines
345 B
TypeScript
|
|
/// <reference types="vitest/config" />
|
||
|
|
import { defineProject } from 'vitest/config';
|
||
|
|
import react from '@vitejs/plugin-react';
|
||
|
|
|
||
|
|
export default defineProject({
|
||
|
|
plugins: [react()],
|
||
|
|
test: {
|
||
|
|
name: 'web',
|
||
|
|
include: ['tests/**/*.test.{ts,tsx}'],
|
||
|
|
environment: 'jsdom',
|
||
|
|
globals: true,
|
||
|
|
setupFiles: ['./tests/setup.ts'],
|
||
|
|
},
|
||
|
|
});
|