* to vite * fx customSnackBar test * fix emptyCard test * clean debug * fix status test * fix customDialogTitle test * fix CustomButton test * fix customDialog test * fix some of customInput tests * add missing dependency * fix missing dependency * testing-library is dropped support for react 17, so we need to stick with 12.1.2 * fix tablehead test * fix toobar test * remove unused test * fix table tests * fix simple menu test * fix layout test * fix grid test * fix custom input test * remove unused file * add missing coverage dependency * upgrade electron * remove unused file
20 lines
453 B
TypeScript
20 lines
453 B
TypeScript
/// <reference types="vitest" />
|
|
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
import * as path from 'path';
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
test: {
|
|
// include: ["src/**.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}"],
|
|
environment: 'jsdom',
|
|
globals: true,
|
|
setupFiles: ['src/setupTests.ts'],
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
'@': path.resolve(__dirname, './src'),
|
|
},
|
|
},
|
|
});
|