diff options
author | Philippe Perrin <philippe.perrin@sonarsource.com> | 2019-12-30 09:55:15 +0100 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2019-12-30 20:46:13 +0100 |
commit | 3c858d79218344eccc264dc97dcf13aa571d813b (patch) | |
tree | e523115b38bc48aee6e22108456155b45bdcdf97 /server/sonar-web/src/main/js/apps/projectLinks/__tests__ | |
parent | 997cc0f1ab3827868dd288ce104c06f7b53844a9 (diff) | |
download | sonarqube-3c858d79218344eccc264dc97dcf13aa571d813b.tar.gz sonarqube-3c858d79218344eccc264dc97dcf13aa571d813b.zip |
Fix formatting issues due to the new version of prettier
Diffstat (limited to 'server/sonar-web/src/main/js/apps/projectLinks/__tests__')
-rw-r--r-- | server/sonar-web/src/main/js/apps/projectLinks/__tests__/App-test.tsx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/server/sonar-web/src/main/js/apps/projectLinks/__tests__/App-test.tsx b/server/sonar-web/src/main/js/apps/projectLinks/__tests__/App-test.tsx index 64230d1b54f..e2e0e5e0020 100644 --- a/server/sonar-web/src/main/js/apps/projectLinks/__tests__/App-test.tsx +++ b/server/sonar-web/src/main/js/apps/projectLinks/__tests__/App-test.tsx @@ -25,12 +25,10 @@ import App from '../App'; // import { getProjectLinks, createLink, deleteLink } from '../../api/projectLinks'; jest.mock('../../../api/projectLinks', () => ({ - getProjectLinks: jest - .fn() - .mockResolvedValue([ - { id: '1', type: 'homepage', url: 'http://example.com' }, - { id: '2', name: 'foo', type: 'foo', url: 'http://example.com/foo' } - ]), + getProjectLinks: jest.fn().mockResolvedValue([ + { id: '1', type: 'homepage', url: 'http://example.com' }, + { id: '2', name: 'foo', type: 'foo', url: 'http://example.com/foo' } + ]), createLink: jest .fn() .mockResolvedValue({ id: '3', name: 'bar', type: 'bar', url: 'http://example.com/bar' }), |