diff options
author | Jeremy Davis <jeremy.davis@sonarsource.com> | 2022-12-20 16:25:47 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-12-21 20:03:47 +0000 |
commit | b5db17b1341d9798ccc8e491b093228b53564719 (patch) | |
tree | ba090d72597e6ea8f14b0a2f53903fd103bb8603 /server/sonar-web/src/main/js/apps/quality-profiles/home | |
parent | 13bebcd11575c43ad5075e9e8e066343f5ef4158 (diff) | |
download | sonarqube-b5db17b1341d9798ccc8e491b093228b53564719.tar.gz sonarqube-b5db17b1341d9798ccc8e491b093228b53564719.zip |
[NO JIRA] Upgrade jest
Diffstat (limited to 'server/sonar-web/src/main/js/apps/quality-profiles/home')
4 files changed, 17 insertions, 17 deletions
diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/__snapshots__/Evolution-test.tsx.snap b/server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/__snapshots__/Evolution-test.tsx.snap index f3860f2774d..088705e5acd 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/__snapshots__/Evolution-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/__snapshots__/Evolution-test.tsx.snap @@ -5,10 +5,10 @@ exports[`should render correctly 1`] = ` className="quality-profiles-evolution" > <EvolutionDeprecated - profiles={Array []} + profiles={[]} /> <EvolutionStagnant - profiles={Array []} + profiles={[]} /> <EvolutionRules /> </div> diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/__snapshots__/EvolutionDeprecated-test.tsx.snap b/server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/__snapshots__/EvolutionDeprecated-test.tsx.snap index 2aa055dd009..12606344d36 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/__snapshots__/EvolutionDeprecated-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/__snapshots__/EvolutionDeprecated-test.tsx.snap @@ -39,7 +39,7 @@ exports[`should render correctly 1`] = ` <ForwardRef(Link) className="link-no-underline" to={ - Object { + { "pathname": "/coding_rules", "search": "?qprofile=qp-5&activation=true&statuses=DEPRECATED", } @@ -85,7 +85,7 @@ exports[`should render correctly 1`] = ` <ForwardRef(Link) className="link-no-underline" to={ - Object { + { "pathname": "/coding_rules", "search": "?qprofile=qp-4&activation=true&statuses=DEPRECATED", } @@ -124,7 +124,7 @@ exports[`should render correctly 1`] = ` <ForwardRef(Link) className="link-no-underline" to={ - Object { + { "pathname": "/coding_rules", "search": "?qprofile=qp-2&activation=true&statuses=DEPRECATED", } @@ -156,7 +156,7 @@ exports[`should render correctly 1`] = ` <ForwardRef(Link) className="link-no-underline" to={ - Object { + { "pathname": "/coding_rules", "search": "?qprofile=qp-3&activation=true&statuses=DEPRECATED", } diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/__snapshots__/PageHeader-test.tsx.snap b/server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/__snapshots__/PageHeader-test.tsx.snap index 3b2de8d69bd..b5ea540762f 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/__snapshots__/PageHeader-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/__snapshots__/PageHeader-test.tsx.snap @@ -159,28 +159,28 @@ exports[`should show a create form 1`] = ` </div> <CreateProfileForm languages={ - Array [ - Object { + [ + { "key": "css", "name": "CSS", }, ] } location={ - Object { + { "hash": "", "key": "key", "pathname": "/path", - "query": Object {}, + "query": {}, "search": "", - "state": Object {}, + "state": {}, } } onClose={[Function]} onCreate={[Function]} profiles={ - Array [ - Object { + [ + { "activeDeprecatedRuleCount": 2, "activeRuleCount": 10, "childrenCount": 0, diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/__snapshots__/ProfilesListHeader-test.tsx.snap b/server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/__snapshots__/ProfilesListHeader-test.tsx.snap index 9e1043ed52d..7b85f20efbf 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/__snapshots__/ProfilesListHeader-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/__snapshots__/ProfilesListHeader-test.tsx.snap @@ -20,18 +20,18 @@ exports[`should render correctly 1`] = ` isSearchable={true} onChange={[Function]} options={ - Array [ - Object { + [ + { "label": "JavaScript", "value": "js", }, - Object { + { "label": "Java", "value": "java", }, ] } - value={Array []} + value={[]} /> </header> `; |