Skip to content

Commit

Permalink
fix: show full path to UI in terminal (#1549)
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Jun 27, 2022
1 parent ea02834 commit 9477043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vitest/src/node/reporters/base.ts
Expand Up @@ -43,7 +43,7 @@ export abstract class BaseReporter implements Reporter {
this.ctx.log(`${c.inverse(c.bold(mode))} ${versionTest} ${c.gray(this.ctx.config.root)}`)

if (this.ctx.config.ui)
this.ctx.log(c.dim(c.green(` UI started at http://${this.ctx.config.api?.host || 'localhost'}:${c.bold(`${this.ctx.server.config.server.port}`)}`)))
this.ctx.log(c.dim(c.green(` UI started at http://${this.ctx.config.api?.host || 'localhost'}:${c.bold(`${this.ctx.server.config.server.port}`)}${this.ctx.config.uiBase}`)))
else if (this.ctx.config.api)
this.ctx.log(c.dim(c.green(` API started at http://${this.ctx.config.api?.host || 'localhost'}:${c.bold(`${this.ctx.config.api.port}`)}`)))

Expand Down

0 comments on commit 9477043

Please sign in to comment.