Skip to content

Commit

Permalink
fix(vitest): pass correct server options in workspace (#4539) (#4540)
Browse files Browse the repository at this point in the history
  • Loading branch information
hironytic authored Nov 27, 2023
1 parent 9fbf39a commit 241a8c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vitest/src/node/workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,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,
Expand Down

0 comments on commit 241a8c1

Please sign in to comment.