mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
chore: details
This commit is contained in:
parent
39ddd136d0
commit
4de107f991
@ -144,7 +144,7 @@ export class DefaultReporter implements Reporter {
|
||||
onUserConsoleLog(log: UserConsoleLog) {
|
||||
this.renderer?.clear()
|
||||
const task = log.taskId ? this.ctx.state.idMap[log.taskId] : undefined
|
||||
console.log(c.gray(`${log.type} | ${task ? c.dim(getFullName(task)) : 'unknown test'}`))
|
||||
console.log(c.gray(log.type + c.dim(` | ${task ? getFullName(task) : 'unknown test'}`)))
|
||||
process[log.type].write(`${log.content}\n`)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user