diff options
author | Ambroise C <ambroise.christea@sonarsource.com> | 2023-09-11 19:25:35 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-09-12 20:02:41 +0000 |
commit | 8d5275ca04be8dbb4b4c7cb0068fe3f1320f1554 (patch) | |
tree | 73f1aa91e094c9ec92bc312096619ec6e54c87be /server/sonar-web/src/main/js/apps/sessions | |
parent | f0e873e18885be912862f5361bd4a77f6f6faac1 (diff) | |
download | sonarqube-8d5275ca04be8dbb4b4c7cb0068fe3f1320f1554.tar.gz sonarqube-8d5275ca04be8dbb4b4c7cb0068fe3f1320f1554.zip |
SONAR-20327 Run new version of prettier on all files
Diffstat (limited to 'server/sonar-web/src/main/js/apps/sessions')
-rw-r--r-- | server/sonar-web/src/main/js/apps/sessions/components/LoginContainer.tsx | 2 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/apps/sessions/components/__tests__/Login-it.tsx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/sessions/components/LoginContainer.tsx b/server/sonar-web/src/main/js/apps/sessions/components/LoginContainer.tsx index 20616db0c01..cfa7f636122 100644 --- a/server/sonar-web/src/main/js/apps/sessions/components/LoginContainer.tsx +++ b/server/sonar-web/src/main/js/apps/sessions/components/LoginContainer.tsx @@ -68,7 +68,7 @@ export class LoginContainer extends React.PureComponent<Props, State> { }, () => { /* already handled */ - } + }, ); } diff --git a/server/sonar-web/src/main/js/apps/sessions/components/__tests__/Login-it.tsx b/server/sonar-web/src/main/js/apps/sessions/components/__tests__/Login-it.tsx index 69a00857dbd..48a13602ed3 100644 --- a/server/sonar-web/src/main/js/apps/sessions/components/__tests__/Login-it.tsx +++ b/server/sonar-web/src/main/js/apps/sessions/components/__tests__/Login-it.tsx @@ -126,7 +126,7 @@ it('should not show any OAuth providers if none are configured', async () => { // No OAuth providers, login form display by default. expect( - screen.queryByRole('link', { name: 'login.login_with_x', exact: false }) + screen.queryByRole('link', { name: 'login.login_with_x', exact: false }), ).not.toBeInTheDocument(); expect(screen.getByLabelText('login')).toBeInTheDocument(); }); @@ -160,6 +160,6 @@ it('should handle errors', async () => { function renderLoginContainer(props: Partial<LoginContainer['props']> = {}) { return renderComponent( - <LoginContainer location={mockLocation({ query: { return_to: '/some/path' } })} {...props} /> + <LoginContainer location={mockLocation({ query: { return_to: '/some/path' } })} {...props} />, ); } |