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
91370ecd
Commit
91370ecd
authored
Mar 25, 2020
by
Vitaly Slobodin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mock gitlab-ui popover directive and component
See
06bd4dbd
commit for more information.
parent
4000aba0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
spec/frontend/__mocks__/@gitlab/ui.js
spec/frontend/__mocks__/@gitlab/ui.js
+17
-0
No files found.
spec/frontend/__mocks__/@gitlab/ui.js
View file @
91370ecd
...
...
@@ -17,3 +17,20 @@ export const GlTooltip = {
return
h
(
'
div
'
,
this
.
$attrs
,
this
.
$slots
.
default
);
},
};
export
const
GlPopoverDirective
=
{
bind
()
{},
};
export
const
GlPopover
=
{
props
:
{
cssClasses
:
{
type
:
Array
,
required
:
false
,
default
:
()
=>
[],
},
},
render
(
h
)
{
return
h
(
'
div
'
,
this
.
$attrs
,
this
.
$slots
.
default
);
},
};
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