Skip to content

Commit

Permalink
fix(vitest): pass correct server options (#4539)
Browse files Browse the repository at this point in the history
  • Loading branch information
hironytic committed Nov 19, 2023
1 parent abe6c72 commit abc46a5
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 @@ -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,
Expand Down

0 comments on commit abc46a5

Please sign in to comment.