Skip to content

fix: tell sonar to skip two lines KEH-191#293

Merged
Riippi merged 2 commits into
mainfrom
fix/KEH-191-sonar-issue
Apr 28, 2026
Merged

fix: tell sonar to skip two lines KEH-191#293
Riippi merged 2 commits into
mainfrom
fix/KEH-191-sonar-issue

Conversation

@Riippi

@Riippi Riippi commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

Refs: KEH-191

Description ✨

Sonar complains about math random being used. But it is used only in unit tests.
Decided to skip sonar on those lines.

Edit.
Also fix a unit test that is failing for some reason.

Closes 🙅‍♀️

KEH-191:

@Riippi Riippi requested a review from a team as a code owner April 27, 2026 14:39
@azure-pipelines

Copy link
Copy Markdown

LINKEDREGISTRATIONS-UI branch is deployed to platta: https://linkedregistrations-pr293-ui.dev.hel.ninja 🚀🚀🚀

@azure-pipelines

Copy link
Copy Markdown

e2e tests result is success for https://linkedregistrations-pr293-ui.dev.hel.ninja 😆🎉🎉🎉

Refs: KEH-191
@sonarqubecloud

Copy link
Copy Markdown

@azure-pipelines

Copy link
Copy Markdown

LINKEDREGISTRATIONS-UI branch is deployed to platta: https://linkedregistrations-pr293-ui.dev.hel.ninja 🚀🚀🚀

@azure-pipelines

Copy link
Copy Markdown

e2e tests result is success for https://linkedregistrations-pr293-ui.dev.hel.ninja 😆🎉🎉🎉

@mikkojamG mikkojamG 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.

👍 With testUtils.tsx we could also consider excluding it from Sonar scanning entirely in sonar-project.properties. This is ok solution too 🙂

@Riippi Riippi merged commit b9ef601 into main Apr 28, 2026
27 checks passed
@Riippi Riippi deleted the fix/KEH-191-sonar-issue branch April 28, 2026 12:19
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