aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/projectLinks/__tests__
diff options
context:
space:
mode:
authorPhilippe Perrin <philippe.perrin@sonarsource.com>2019-12-30 09:55:15 +0100
committerSonarTech <sonartech@sonarsource.com>2019-12-30 20:46:13 +0100
commit3c858d79218344eccc264dc97dcf13aa571d813b (patch)
treee523115b38bc48aee6e22108456155b45bdcdf97 /server/sonar-web/src/main/js/apps/projectLinks/__tests__
parent997cc0f1ab3827868dd288ce104c06f7b53844a9 (diff)
downloadsonarqube-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.tsx10
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' }),