Skip to content

Commit

Permalink
chore: guard server if not defined yet
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Apr 2, 2024
1 parent 73b1490 commit 8494d7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vitest/src/node/workspace.ts
Expand Up @@ -413,7 +413,7 @@ export class WorkspaceProject {
alias: [],
includeTaskLocation: this.config.includeTaskLocation ?? this.ctx.config.includeTaskLocation,
env: {
...this.server.config.env,
...this.server?.config.env,
...this.config.env,
},
}, this.ctx.configOverride || {} as any) as ResolvedConfig
Expand Down

0 comments on commit 8494d7e

Please sign in to comment.