Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
4b73997f
Commit
4b73997f
authored
Dec 23, 2020
by
Paul Slaughter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix prettier on mr_widget_options_spec
parent
87e532b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
spec/frontend/vue_mr_widget/mr_widget_options_spec.js
spec/frontend/vue_mr_widget/mr_widget_options_spec.js
+3
-5
No files found.
spec/frontend/vue_mr_widget/mr_widget_options_spec.js
View file @
4b73997f
...
...
@@ -15,7 +15,7 @@ import { SUCCESS } from '~/vue_merge_request_widget/components/deployment/consta
jest
.
mock
(
'
~/smart_interval
'
);
jest
.
mock
(
'
~/lib/utils/favicon
'
)
jest
.
mock
(
'
~/lib/utils/favicon
'
)
;
const
returnPromise
=
(
data
)
=>
new
Promise
((
resolve
)
=>
{
...
...
@@ -427,11 +427,9 @@ describe('mrWidgetOptions', () => {
it
(
'
should call setFavicon method
'
,
async
()
=>
{
vm
.
mr
.
ciStatusFaviconPath
=
overlayDataUrl
;
await
vm
.
setFaviconHelper
()
await
vm
.
setFaviconHelper
()
;
expect
(
setFaviconOverlay
).
toHaveBeenCalledWith
(
overlayDataUrl
);
expect
(
setFaviconOverlay
).
toHaveBeenCalledWith
(
overlayDataUrl
);
});
it
(
'
should not call setFavicon when there is no ciStatusFaviconPath
'
,
(
done
)
=>
{
...
...
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