Skip to content

Commit

Permalink
chore: remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Apr 22, 2024
1 parent d5c0a30 commit 6220737
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/vitest/src/node/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,10 +328,9 @@ export class Vitest {
const dir = filepath.endsWith('/') ? filepath.slice(0, -1) : dirname(filepath)
if (isMainThread)
process.chdir(dir)
// this just resolves the config, later we also wait when the server is resolved,
// but we can do that in parallel because it doesn't depend on process.cwd()
// this is strictly a performance optimization so we don't need to wait for server to start
projects.push(await initializeProject(filepath, this, { workspaceConfigPath, test: cliOverrides }))
projects.push(
await initializeProject(filepath, this, { workspaceConfigPath, test: cliOverrides }),
)
}
}
finally {
Expand Down

0 comments on commit 6220737

Please sign in to comment.