aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/groups
diff options
context:
space:
mode:
authorJeremy Davis <jeremy.davis@sonarsource.com>2022-12-20 16:25:47 +0100
committersonartech <sonartech@sonarsource.com>2022-12-21 20:03:47 +0000
commitb5db17b1341d9798ccc8e491b093228b53564719 (patch)
treeba090d72597e6ea8f14b0a2f53903fd103bb8603 /server/sonar-web/src/main/js/apps/groups
parent13bebcd11575c43ad5075e9e8e066343f5ef4158 (diff)
downloadsonarqube-b5db17b1341d9798ccc8e491b093228b53564719.tar.gz
sonarqube-b5db17b1341d9798ccc8e491b093228b53564719.zip
[NO JIRA] Upgrade jest
Diffstat (limited to 'server/sonar-web/src/main/js/apps/groups')
-rw-r--r--server/sonar-web/src/main/js/apps/groups/components/__tests__/__snapshots__/App-test.tsx.snap6
-rw-r--r--server/sonar-web/src/main/js/apps/groups/components/__tests__/__snapshots__/EditMembers-test.tsx.snap2
-rw-r--r--server/sonar-web/src/main/js/apps/groups/components/__tests__/__snapshots__/EditMembersModal-test.tsx.snap4
-rw-r--r--server/sonar-web/src/main/js/apps/groups/components/__tests__/__snapshots__/List-test.tsx.snap6
-rw-r--r--server/sonar-web/src/main/js/apps/groups/components/__tests__/__snapshots__/ListItem-test.tsx.snap2
5 files changed, 10 insertions, 10 deletions
diff --git a/server/sonar-web/src/main/js/apps/groups/components/__tests__/__snapshots__/App-test.tsx.snap b/server/sonar-web/src/main/js/apps/groups/components/__tests__/__snapshots__/App-test.tsx.snap
index 9137ef5828d..8e6b044f3c6 100644
--- a/server/sonar-web/src/main/js/apps/groups/components/__tests__/__snapshots__/App-test.tsx.snap
+++ b/server/sonar-web/src/main/js/apps/groups/components/__tests__/__snapshots__/App-test.tsx.snap
@@ -58,15 +58,15 @@ exports[`should render correctly 2`] = `
/>
<List
groups={
- Array [
- Object {
+ [
+ {
"default": false,
"description": "Owners of organization foo",
"id": 1,
"membersCount": 1,
"name": "Owners",
},
- Object {
+ {
"default": true,
"description": "Members of organization foo",
"id": 2,
diff --git a/server/sonar-web/src/main/js/apps/groups/components/__tests__/__snapshots__/EditMembers-test.tsx.snap b/server/sonar-web/src/main/js/apps/groups/components/__tests__/__snapshots__/EditMembers-test.tsx.snap
index f19291c2901..b074ac3da9b 100644
--- a/server/sonar-web/src/main/js/apps/groups/components/__tests__/__snapshots__/EditMembers-test.tsx.snap
+++ b/server/sonar-web/src/main/js/apps/groups/components/__tests__/__snapshots__/EditMembers-test.tsx.snap
@@ -25,7 +25,7 @@ exports[`should edit members 2`] = `
</ButtonIcon>
<EditMembersModal
group={
- Object {
+ {
"id": 3,
"membersCount": 5,
"name": "Foo",
diff --git a/server/sonar-web/src/main/js/apps/groups/components/__tests__/__snapshots__/EditMembersModal-test.tsx.snap b/server/sonar-web/src/main/js/apps/groups/components/__tests__/__snapshots__/EditMembersModal-test.tsx.snap
index 874619ef9ea..73c64b6bdd7 100644
--- a/server/sonar-web/src/main/js/apps/groups/components/__tests__/__snapshots__/EditMembersModal-test.tsx.snap
+++ b/server/sonar-web/src/main/js/apps/groups/components/__tests__/__snapshots__/EditMembersModal-test.tsx.snap
@@ -17,7 +17,7 @@ exports[`should render modal properly 1`] = `
>
<SelectList
elements={
- Array [
+ [
"foo",
]
}
@@ -27,7 +27,7 @@ exports[`should render modal properly 1`] = `
onUnselect={[Function]}
renderElement={[Function]}
selectedElements={
- Array [
+ [
"foo",
]
}
diff --git a/server/sonar-web/src/main/js/apps/groups/components/__tests__/__snapshots__/List-test.tsx.snap b/server/sonar-web/src/main/js/apps/groups/components/__tests__/__snapshots__/List-test.tsx.snap
index 2db446a6c97..5d3a39ef7ca 100644
--- a/server/sonar-web/src/main/js/apps/groups/components/__tests__/__snapshots__/List-test.tsx.snap
+++ b/server/sonar-web/src/main/js/apps/groups/components/__tests__/__snapshots__/List-test.tsx.snap
@@ -61,7 +61,7 @@ exports[`should render 1`] = `
</tr>
<ListItem
group={
- Object {
+ {
"default": false,
"description": "barbar",
"id": 3,
@@ -76,7 +76,7 @@ exports[`should render 1`] = `
/>
<ListItem
group={
- Object {
+ {
"default": false,
"description": "foobar",
"id": 2,
@@ -91,7 +91,7 @@ exports[`should render 1`] = `
/>
<ListItem
group={
- Object {
+ {
"default": true,
"description": "",
"id": 1,
diff --git a/server/sonar-web/src/main/js/apps/groups/components/__tests__/__snapshots__/ListItem-test.tsx.snap b/server/sonar-web/src/main/js/apps/groups/components/__tests__/__snapshots__/ListItem-test.tsx.snap
index 41ede69e95c..04fecff59d2 100644
--- a/server/sonar-web/src/main/js/apps/groups/components/__tests__/__snapshots__/ListItem-test.tsx.snap
+++ b/server/sonar-web/src/main/js/apps/groups/components/__tests__/__snapshots__/ListItem-test.tsx.snap
@@ -23,7 +23,7 @@ exports[`should render correctly 1`] = `
>
<EditMembers
group={
- Object {
+ {
"id": 1,
"membersCount": 1,
"name": "Foo",