mirror of
https://github.com/Dvorinka/excalidraw-full.git
synced 2026-06-03 22:02:57 +00:00
a07fca997e
- Fix go.mod Go version from invalid 1.25.7 to 1.23 - Fix Dockerfile golang image from 1.25 to 1.23 - Add window.matchMedia mock for jsdom themeStore tests - Exclude e2e/ from Vitest to prevent Playwright test conflicts - Add frontend test step to both CI workflows
23 lines
515 B
JavaScript
23 lines
515 B
JavaScript
import { defineConfig } from 'vitest/config';
|
|
import react from '@vitejs/plugin-react';
|
|
import path from 'path';
|
|
import { fileURLToPath } from 'url';
|
|
|
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
test: {
|
|
environment: 'jsdom',
|
|
globals: true,
|
|
setupFiles: ['./src/test/setup.ts'],
|
|
css: true,
|
|
exclude: ['e2e/**', 'node_modules/**'],
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
'@': path.resolve(__dirname, './src'),
|
|
},
|
|
},
|
|
});
|