Skip to content

tests: unit tests fix warnings and errors - #1177

Merged
tarrow merged 1 commit into
mainfrom
fixUnitTestWarns
Aug 25, 2026
Merged

tests: unit tests fix warnings and errors#1177
tarrow merged 1 commit into
mainfrom
fixUnitTestWarns

Conversation

@tarrow

@tarrow tarrow commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

This patch uses two workarounds from stackoverflow to prevent warnings that seem to be present after updating jest.

While the unit tests have always worked in CI and still work locally without this patch there is a lot of unnecessary noise which prevents easily running them locally

Bug: T435838

@github-actions

Copy link
Copy Markdown

Deployment previews on netlify for branch refs/pull/1177/merge will be at the following locations (when build is done):

This patch uses two workarounds from stackoverflow
to prevent warnings that seem to be present after updating
jest.

While the unit tests have always worked in CI and still work locally
without this patch there is a lot of unnecessary noise which
prevents easily running them locally

Bug: T435838

@deer-wmde deer-wmde left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

neat! I can confirm this gets rid of the noise I see when I run test:unit currently on main.

For papertrails sake I'll add what it spit out before:

Error: Not implemented: navigation (except hash changes)

and a bunch of

[Vue warn]: Unknown custom element: <v-main> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

for elements like v-col, v-row, v-container etc.

both with lots of additional trace lines

@tarrow
tarrow merged commit 8a0135d into main Aug 25, 2026
7 checks passed
@tarrow
tarrow deleted the fixUnitTestWarns branch August 25, 2026 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants