We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4a682d commit 821400bCopy full SHA for 821400b
packages/vitest/src/node/plugins/index.ts
@@ -98,6 +98,7 @@ export async function VitestPlugin(
98
...testConfig.api,
99
open,
100
hmr: false,
101
+ ws: testConfig.api?.middlewareMode ? false : undefined,
102
preTransformRequests: false,
103
fs: {
104
allow: resolveFsAllow(getRoot(), testConfig.config),
packages/vitest/src/node/plugins/workspace.ts
@@ -85,6 +85,7 @@ export function WorkspaceVitestPlugin(
85
watch: null,
86
open: false,
87
88
+ ws: false,
89
90
middlewareMode: true,
91
0 commit comments