Skip to content

Commit

Permalink
feat: include "vitest" in activity monitor
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Sep 27, 2023
1 parent bbb43fb commit be64cc8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/vitest/src/node/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ function normalizeCliOptions(argv: CliOptions): CliOptions {
}

async function start(mode: VitestRunMode, cliFilters: string[], options: CliOptions): Promise<Vitest | undefined> {
process.title = 'node (vitest)'

try {
const ctx = await startVitest(mode, cliFilters.map(normalize), normalizeCliOptions(options))
if (!ctx?.shouldKeepServer())
Expand Down

0 comments on commit be64cc8

Please sign in to comment.