aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main
diff options
context:
space:
mode:
authorMathieu Suen <mathieu.suen@sonarsource.com>2024-07-02 11:02:52 +0200
committersonartech <sonartech@sonarsource.com>2024-07-04 20:02:36 +0000
commit0079273e2cb6352d0302497ffa7e0450b9cf9695 (patch)
tree24111d161a70c2631e894ab81fd9dceaefc2f843 /server/sonar-web/src/main
parent56814730f18b0c7257a8f002d098d452920f1632 (diff)
downloadsonarqube-0079273e2cb6352d0302497ffa7e0450b9cf9695.tar.gz
sonarqube-0079273e2cb6352d0302497ffa7e0450b9cf9695.zip
[NO-JIRA] Upgrade minor frontend dependency
Diffstat (limited to 'server/sonar-web/src/main')
-rw-r--r--server/sonar-web/src/main/js/api/mocks/MessagesServiceMock.ts1
-rw-r--r--server/sonar-web/src/main/js/apps/security-hotspots/components/__tests__/__snapshots__/HotspotDisabledFilterTooltip-test.tsx.snap1
-rw-r--r--server/sonar-web/src/main/js/components/charts/__tests__/__snapshots__/LanguageDistribution-test.tsx.snap2
3 files changed, 1 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/api/mocks/MessagesServiceMock.ts b/server/sonar-web/src/main/js/api/mocks/MessagesServiceMock.ts
index bd69bfeb41e..3bcecdd41d4 100644
--- a/server/sonar-web/src/main/js/api/mocks/MessagesServiceMock.ts
+++ b/server/sonar-web/src/main/js/api/mocks/MessagesServiceMock.ts
@@ -59,7 +59,6 @@ export default class MessagesServiceMock {
setMessageDismissed = ({ projectKey, messageType }: MessageDismissParams) => {
if (projectKey) {
this.#messageResponse[messageType] ||= {
- ...this.#messageResponse[messageType],
[projectKey]: {
dismissed: true,
},
diff --git a/server/sonar-web/src/main/js/apps/security-hotspots/components/__tests__/__snapshots__/HotspotDisabledFilterTooltip-test.tsx.snap b/server/sonar-web/src/main/js/apps/security-hotspots/components/__tests__/__snapshots__/HotspotDisabledFilterTooltip-test.tsx.snap
index d6d044ecf9d..d51909d712a 100644
--- a/server/sonar-web/src/main/js/apps/security-hotspots/components/__tests__/__snapshots__/HotspotDisabledFilterTooltip-test.tsx.snap
+++ b/server/sonar-web/src/main/js/apps/security-hotspots/components/__tests__/__snapshots__/HotspotDisabledFilterTooltip-test.tsx.snap
@@ -74,7 +74,6 @@ exports[`should render correctly and stop event propagation 1`] = `
fill="currentColor"
focusable="false"
height="16"
- role="img"
style="display: inline-block; user-select: none; vertical-align: middle; overflow: visible;"
viewBox="0 0 16 16"
width="16"
diff --git a/server/sonar-web/src/main/js/components/charts/__tests__/__snapshots__/LanguageDistribution-test.tsx.snap b/server/sonar-web/src/main/js/components/charts/__tests__/__snapshots__/LanguageDistribution-test.tsx.snap
index 8d594aa389e..1acc158dd24 100644
--- a/server/sonar-web/src/main/js/components/charts/__tests__/__snapshots__/LanguageDistribution-test.tsx.snap
+++ b/server/sonar-web/src/main/js/components/charts/__tests__/__snapshots__/LanguageDistribution-test.tsx.snap
@@ -6,7 +6,7 @@ exports[`should render correctly 1`] = `
}
.emotion-2 {
- font-family: Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
+ font-family: Inter,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
font-size: 0.875rem;
line-height: 1.25rem;
font-weight: 400;