This commit is contained in:
12
06_js-debug/uebungen/u17-19_shop-vitest/vite.config.ts
Normal file
12
06_js-debug/uebungen/u17-19_shop-vitest/vite.config.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { defineConfig } from 'vitest/config'; // nicht mehr 'vite'
|
||||
import react from '@vitejs/plugin-react';
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
test: {
|
||||
globals: true,
|
||||
environment: 'jsdom',
|
||||
setupFiles: './src/tests/setupTests.ts',
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user