Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.2.0-beta reporters missing retry and repeat #7001

Closed
6 tasks done
AriPerkkio opened this issue Dec 2, 2024 · 0 comments · Fixed by #7004
Closed
6 tasks done

v2.2.0-beta reporters missing retry and repeat #7001

AriPerkkio opened this issue Dec 2, 2024 · 0 comments · Fixed by #7004
Labels
p3-minor-bug An edge case that only affects very specific usage (priority)

Comments

@AriPerkkio
Copy link
Member

Describe the bug

Retry and repeat logs are missing from new reporter rewrite.

if (
task.type === 'test'
&& task.result?.retryCount
&& task.result.retryCount > 0
) {
suffix += c.yellow(` (retry x${task.result.retryCount})`)
}

if (
task.type === 'test'
&& task.result?.repeatCount
&& task.result.repeatCount > 0
) {
suffix += c.yellow(` (repeat x${task.result.repeatCount})`)
}

Reproduction

Vitest monorepo: test/config/fixtures/retry

System Info

Any

Used Package Manager

pnpm

Validations

@AriPerkkio AriPerkkio added the p3-minor-bug An edge case that only affects very specific usage (priority) label Dec 2, 2024
@AriPerkkio AriPerkkio changed the title v2.2.0-beta reporters missing retry´ and repeat` v2.2.0-beta reporters missing retry and repeat Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p3-minor-bug An edge case that only affects very specific usage (priority)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant