UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Platform One
P
Party Bus
Launchboard
launchboard-be
Commits
b3b49913
You need to sign in or sign up before continuing.
Commit
b3b49913
authored
Aug 30, 2021
by
Baban Faraj
Browse files
Prettier
parent
6c9bf84f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
11 deletions
+4
-11
tests/service/project-service.spec.js
tests/service/project-service.spec.js
+4
-11
No files found.
tests/service/project-service.spec.js
View file @
b3b49913
...
@@ -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
);
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment