Skip to content

Commit

Permalink
fix/ add cacheDir option for cached test result
Browse files Browse the repository at this point in the history
ref)
vitest-dev/vitest#3272

테스트 수행시 자동으로 utils/__tests__/ 등의 폴더에
node_modules/result.json 파일이 생성되는 현상이 있어 그 결과를 ./ 에만
저장하도록 수정했습니다.
  • Loading branch information
dev2820 committed Jul 29, 2023
1 parent 4243fe4 commit 1792425
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { VitePluginNode } from 'vite-plugin-node';
import { fileURLToPath } from 'url';

export default defineConfig({
cacheDir: './',
server: {
port: 3000,
},
Expand Down

0 comments on commit 1792425

Please sign in to comment.