diff options
author | Wouter Admiraal <wouter.admiraal@sonarsource.com> | 2023-06-02 08:59:38 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-06-02 20:02:45 +0000 |
commit | 2bed98c4ceafc4eb913f16c11a9e72508096636c (patch) | |
tree | 8f08099fd464b4ff2c03423319a2bb91b4a5a192 /server/sonar-web/src/main/js/apps/component-measures/components/ComponentMeasuresApp.tsx | |
parent | 2a718cb91427aeb3ddb0adb35c15f81cee18461f (diff) | |
download | sonarqube-2bed98c4ceafc4eb913f16c11a9e72508096636c.tar.gz sonarqube-2bed98c4ceafc4eb913f16c11a9e72508096636c.zip |
SONAR-18425 Migrate measures page tests to RTL
Diffstat (limited to 'server/sonar-web/src/main/js/apps/component-measures/components/ComponentMeasuresApp.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/apps/component-measures/components/ComponentMeasuresApp.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/component-measures/components/ComponentMeasuresApp.tsx b/server/sonar-web/src/main/js/apps/component-measures/components/ComponentMeasuresApp.tsx index 36f66810afc..a99b3684ad6 100644 --- a/server/sonar-web/src/main/js/apps/component-measures/components/ComponentMeasuresApp.tsx +++ b/server/sonar-web/src/main/js/apps/component-measures/components/ComponentMeasuresApp.tsx @@ -84,7 +84,7 @@ interface State { metrics: Dict<Metric>; } -export class ComponentMeasuresApp extends React.PureComponent<Props, State> { +class ComponentMeasuresApp extends React.PureComponent<Props, State> { mounted = false; state: State; @@ -277,7 +277,7 @@ export class ComponentMeasuresApp extends React.PureComponent<Props, State> { if (this.state.loading) { return ( <div className="display-flex-justify-center huge-spacer-top"> - <i className="spinner" /> + <i aria-label={translate('loading')} className="spinner" /> </div> ); } |