Skip to content

Commit

Permalink
chore: 修复测试 demo 失败
Browse files Browse the repository at this point in the history
  • Loading branch information
Wxh16144 committed Jan 10, 2024
1 parent 881f1c3 commit 43caddc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { resolve } from 'path';
import { defineConfig } from 'vitest/config';
import { name } from './package.json';

Expand All @@ -8,8 +9,7 @@ export default defineConfig({
globals: true,
css: true,
alias: {
'@': './src',
[name]: './src',
[name]: resolve(__dirname, './src'),
},
coverage: {
reporter: ['text', 'text-summary', 'json', 'lcov'],
Expand Down

0 comments on commit 43caddc

Please sign in to comment.