aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/projectLinks/__tests__
diff options
context:
space:
mode:
authorWouter Admiraal <wouter.admiraal@sonarsource.com>2022-08-25 10:45:27 +0200
committersonartech <sonartech@sonarsource.com>2022-08-29 20:02:53 +0000
commit06f6244b0ae2fd288e05fbdd0bd077a0da9066c4 (patch)
tree5c1cc37e9aee4859a31321b83d32eafad07f2c14 /server/sonar-web/src/main/js/apps/projectLinks/__tests__
parentc757692a0a8d02998bfd8839c2612e17011013a7 (diff)
downloadsonarqube-06f6244b0ae2fd288e05fbdd0bd077a0da9066c4.tar.gz
sonarqube-06f6244b0ae2fd288e05fbdd0bd077a0da9066c4.zip
SONAR-17027 Align the way we display links (internal & external) in the UI
Diffstat (limited to 'server/sonar-web/src/main/js/apps/projectLinks/__tests__')
-rw-r--r--server/sonar-web/src/main/js/apps/projectLinks/__tests__/__snapshots__/LinkRow-test.tsx.snap14
1 files changed, 6 insertions, 8 deletions
diff --git a/server/sonar-web/src/main/js/apps/projectLinks/__tests__/__snapshots__/LinkRow-test.tsx.snap b/server/sonar-web/src/main/js/apps/projectLinks/__tests__/__snapshots__/LinkRow-test.tsx.snap
index e05b8f94f91..1d479fdfb1a 100644
--- a/server/sonar-web/src/main/js/apps/projectLinks/__tests__/__snapshots__/LinkRow-test.tsx.snap
+++ b/server/sonar-web/src/main/js/apps/projectLinks/__tests__/__snapshots__/LinkRow-test.tsx.snap
@@ -26,13 +26,12 @@ exports[`should render custom link 1`] = `
<td
className="nowrap js-url"
>
- <a
- href="http://example.com"
- rel="nofollow noreferrer noopener"
+ <ForwardRef(Link)
target="_blank"
+ to="http://example.com"
>
http://example.com
- </a>
+ </ForwardRef(Link)>
</td>
<td
className="thin nowrap"
@@ -131,13 +130,12 @@ exports[`should render provided link 1`] = `
<td
className="nowrap js-url"
>
- <a
- href="http://example.com"
- rel="nofollow noreferrer noopener"
+ <ForwardRef(Link)
target="_blank"
+ to="http://example.com"
>
http://example.com
- </a>
+ </ForwardRef(Link)>
</td>
<td
className="thin nowrap"