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
74f9ef65
Commit
74f9ef65
authored
Nov 11, 2019
by
Paul Gascou-Vaillancourt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make cycle analytics specs compatible w/ BototstrapVue 2
parent
413e010f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
ee/spec/frontend/analytics/cycle_analytics/components/stage_event_list_spec.js
...ytics/cycle_analytics/components/stage_event_list_spec.js
+2
-0
ee/spec/frontend/analytics/cycle_analytics/components/stage_table_spec.js
.../analytics/cycle_analytics/components/stage_table_spec.js
+1
-0
No files found.
ee/spec/frontend/analytics/cycle_analytics/components/stage_event_list_spec.js
View file @
74f9ef65
...
@@ -33,6 +33,8 @@ const mockStubs = {
...
@@ -33,6 +33,8 @@ const mockStubs = {
function
createComponent
({
props
=
{},
shallow
=
false
,
Component
=
StageEventList
,
stubs
})
{
function
createComponent
({
props
=
{},
shallow
=
false
,
Component
=
StageEventList
,
stubs
})
{
const
func
=
shallow
?
shallowMount
:
mount
;
const
func
=
shallow
?
shallowMount
:
mount
;
return
func
(
Component
,
{
return
func
(
Component
,
{
attachToDocument
:
true
,
sync
:
false
,
propsData
:
{
propsData
:
{
stage
:
issueStage
,
stage
:
issueStage
,
events
:
issueEvents
,
events
:
issueEvents
,
...
...
ee/spec/frontend/analytics/cycle_analytics/components/stage_table_spec.js
View file @
74f9ef65
...
@@ -47,6 +47,7 @@ function createComponent(props = {}, shallow = false) {
...
@@ -47,6 +47,7 @@ function createComponent(props = {}, shallow = false) {
'
gl-loading-icon
'
:
true
,
'
gl-loading-icon
'
:
true
,
},
},
sync
:
false
,
sync
:
false
,
attachToDocument
:
true
,
});
});
}
}
...
...
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