UNCLASSIFIED

You need to sign in or sign up before continuing.
Commit b3b49913 authored by Baban Faraj's avatar Baban Faraj
Browse files

Prettier

parent 6c9bf84f
...@@ -252,12 +252,10 @@ describe('ProjectService', () => { ...@@ -252,12 +252,10 @@ describe('ProjectService', () => {
}) })
// latest pipeline response // latest pipeline response
.mockResolvedValueOnce({ .mockResolvedValueOnce({
data: [{ id: 88, sha: '123', status: 'success', web_url: 'url'}], data: [{ id: 88, sha: '123', status: 'success', web_url: 'url' }],
}) })
.mockResolvedValueOnce({ .mockResolvedValueOnce({
data: data: { title: 'title' },
{ title: 'title' }
}) })
// pipeline jobs response // pipeline jobs response
.mockResolvedValueOnce({ .mockResolvedValueOnce({
...@@ -315,9 +313,7 @@ describe('ProjectService', () => { ...@@ -315,9 +313,7 @@ describe('ProjectService', () => {
data: [{ id: 88, sha: '123', status: 'success', web_url: 'url' }], data: [{ id: 88, sha: '123', status: 'success', web_url: 'url' }],
}) })
.mockResolvedValueOnce({ .mockResolvedValueOnce({
data: data: { title: 'title' },
{ title: 'title' }
}) })
// pipeline jobs response // pipeline jobs response
.mockResolvedValueOnce({ .mockResolvedValueOnce({
...@@ -375,9 +371,7 @@ describe('ProjectService', () => { ...@@ -375,9 +371,7 @@ describe('ProjectService', () => {
data: [{ id: 88, sha: '123', status: 'failed', web_url: 'url' }], data: [{ id: 88, sha: '123', status: 'failed', web_url: 'url' }],
}) })
.mockResolvedValueOnce({ .mockResolvedValueOnce({
data: data: { title: 'title' },
{ title: 'title' }
}) })
// pipeline jobs response // pipeline jobs response
.mockResolvedValueOnce({ .mockResolvedValueOnce({
...@@ -387,7 +381,6 @@ describe('ProjectService', () => { ...@@ -387,7 +381,6 @@ describe('ProjectService', () => {
], ],
}); });
const response = await ProjectService.getProjectsLatestPipelineAndJobs( const response = await ProjectService.getProjectsLatestPipelineAndJobs(
mockEmail mockEmail
); );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment