From abc46a522e22fe7cfca56593954a5c2a9a079e1f Mon Sep 17 00:00:00 2001 From: Hironori Ichimiya Date: Sun, 19 Nov 2023 22:03:02 +0900 Subject: [PATCH] fix(vitest): pass correct server options (#4539) --- packages/vitest/src/node/workspace.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vitest/src/node/workspace.ts b/packages/vitest/src/node/workspace.ts index 1deefba4c6fc..3da40431b070 100644 --- a/packages/vitest/src/node/workspace.ts +++ b/packages/vitest/src/node/workspace.ts @@ -288,7 +288,7 @@ export class WorkspaceProject { this.config = resolveConfig(this.ctx.mode, options, server.config) this.server = server - this.vitenode = new ViteNodeServer(server, this.config) + this.vitenode = new ViteNodeServer(server, this.config.server) const node = this.vitenode this.runner = new ViteNodeRunner({ root: server.config.root,