Skip to content

vitest: Fail on console errors and warnings#4489

Draft
regexowl wants to merge 2 commits into
osbuild:mainfrom
regexowl:block-on-err
Draft

vitest: Fail on console errors and warnings#4489
regexowl wants to merge 2 commits into
osbuild:mainfrom
regexowl:block-on-err

Conversation

@regexowl
Copy link
Copy Markdown
Collaborator

@regexowl regexowl commented Jun 1, 2026

Some changes introduce warning and error console logs in the test output. This will make the test run fail when there's any "mess" and the problems can be fixed in place instead of retroactively when the test output becomes unreadable.

Rebased on #4469

regexowl added 2 commits June 1, 2026 12:25
This updates tests to clean up the test output and fixes the ImagesTable test in `npm run test:cockpit`.
Some changes introduce warning and error console logs in the test output. This will make the test run fail when there's any "mess" and the problems can be fixed in place instead of retroactively when the test output becomes unreadable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant