Skip to content

Commit

Permalink
feat: disable Vite hmr in tests (#1400)
Browse files Browse the repository at this point in the history
Vitest has it's own hrm implementation
  • Loading branch information
sheremet-va committed May 31, 2022
1 parent ed0ec24 commit b7bfc09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vitest/src/node/plugins/index.ts
Expand Up @@ -78,6 +78,7 @@ export async function VitestPlugin(options: UserConfig = {}, ctx = new Vitest())
server: {
...preOptions.api,
open,
hmr: false,
preTransformRequests: false,
},
// disable deps optimization
Expand Down

0 comments on commit b7bfc09

Please sign in to comment.