We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ab76aa commit 0886501Copy full SHA for 0886501
backend/vitest.config.ts
@@ -1,17 +1,14 @@
1
import { defineConfig } from 'vitest/config';
2
+import tsconfigPaths from 'vite-tsconfig-paths';
3
-export default defineConfig(async () => {
4
- const tsconfigPaths = (await import('vite-tsconfig-paths')).default;
5
-
6
- return {
7
- plugins: [tsconfigPaths()],
8
- test: {
9
- globals: true,
10
- environment: 'node',
11
- include: ['**/*.spec.ts'],
12
- coverage: {
13
- reporter: ['text', 'json', 'html'],
14
- },
+export default defineConfig({
+ plugins: [tsconfigPaths()],
+ test: {
+ globals: true,
+ environment: 'node',
+ include: ['**/*.spec.ts'],
+ coverage: {
+ reporter: ['text', 'json', 'html'],
15
},
16
- };
17
-});
+ },
+});
0 commit comments