Use source loader for email sprite icons
[ProtonMail-WebClient.git] / packages / wallet / vitest.config.ts
blob8d96b71cf2cd2181fc2bc477b1760a7e88403aec
1 import react from '@vitejs/plugin-react-swc';
2 import wasm from 'vite-plugin-wasm';
3 import { defineConfig } from 'vitest/config';
5 export default defineConfig({
6     plugins: [react(), wasm()],
7     test: {
8         globals: true,
9         environment: 'happy-dom',
10         poolOptions: {
11             threads: { singleThread: true },
12         },
13         reporters: ['basic'],
14         setupFiles: './vitest.setup.ts',
15     },
16 });