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
cb0ebe6c
Commit
cb0ebe6c
authored
Jan 15, 2020
by
Illya Klymov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove useless attachToDocument property
attachToDocument property is not needed
parent
4ac2a641
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
1 addition
and
12 deletions
+1
-12
ee/spec/frontend/analytics/cycle_analytics/components/stage_event_list_spec.js
...ytics/cycle_analytics/components/stage_event_list_spec.js
+0
-1
ee/spec/frontend/analytics/cycle_analytics/components/stage_table_spec.js
.../analytics/cycle_analytics/components/stage_table_spec.js
+0
-1
ee/spec/frontend/approvals/components/approval_check_popover_spec.js
...ntend/approvals/components/approval_check_popover_spec.js
+0
-1
ee/spec/frontend/boards/issue_card_spec.js
ee/spec/frontend/boards/issue_card_spec.js
+0
-1
ee/spec/frontend/design_management/components/upload/button_spec.js
...ontend/design_management/components/upload/button_spec.js
+0
-1
ee/spec/frontend/feature_flags/components/configure_feature_flags_modal_spec.js
...re_flags/components/configure_feature_flags_modal_spec.js
+0
-1
ee/spec/frontend/ide/components/terminal_sync/terminal_sync_status_spec.js
...ide/components/terminal_sync/terminal_sync_status_spec.js
+0
-1
ee/spec/frontend/logs/components/environment_logs_spec.js
ee/spec/frontend/logs/components/environment_logs_spec.js
+0
-1
ee/spec/frontend/logs/components/log_control_buttons_spec.js
ee/spec/frontend/logs/components/log_control_buttons_spec.js
+1
-3
ee/spec/frontend/security_dashboard/components/filter_spec.js
...pec/frontend/security_dashboard/components/filter_spec.js
+0
-1
No files found.
ee/spec/frontend/analytics/cycle_analytics/components/stage_event_list_spec.js
View file @
cb0ebe6c
...
@@ -35,7 +35,6 @@ const mockStubs = {
...
@@ -35,7 +35,6 @@ 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
,
propsData
:
{
propsData
:
{
stage
:
issueStage
,
stage
:
issueStage
,
events
:
issueEvents
,
events
:
issueEvents
,
...
...
ee/spec/frontend/analytics/cycle_analytics/components/stage_table_spec.js
View file @
cb0ebe6c
...
@@ -51,7 +51,6 @@ function createComponent(props = {}, shallow = false) {
...
@@ -51,7 +51,6 @@ function createComponent(props = {}, shallow = false) {
stubs
:
{
stubs
:
{
'
gl-loading-icon
'
:
true
,
'
gl-loading-icon
'
:
true
,
},
},
attachToDocument
:
true
,
});
});
}
}
...
...
ee/spec/frontend/approvals/components/approval_check_popover_spec.js
View file @
cb0ebe6c
...
@@ -12,7 +12,6 @@ describe('Approval Check Popover', () => {
...
@@ -12,7 +12,6 @@ describe('Approval Check Popover', () => {
propsData
:
{
propsData
:
{
title
:
'
Title
'
,
title
:
'
Title
'
,
},
},
attachToDocument
:
true
,
});
});
});
});
...
...
ee/spec/frontend/boards/issue_card_spec.js
View file @
cb0ebe6c
...
@@ -21,7 +21,6 @@ describe('Issue card component', () => {
...
@@ -21,7 +21,6 @@ describe('Issue card component', () => {
issueLinkBase
:
'
/test
'
,
issueLinkBase
:
'
/test
'
,
...
props
,
...
props
,
},
},
attachToDocument
:
true
,
});
});
};
};
...
...
ee/spec/frontend/design_management/components/upload/button_spec.js
View file @
cb0ebe6c
...
@@ -6,7 +6,6 @@ describe('Design management upload button component', () => {
...
@@ -6,7 +6,6 @@ describe('Design management upload button component', () => {
function
createComponent
(
isSaving
=
false
,
isInverted
=
false
)
{
function
createComponent
(
isSaving
=
false
,
isInverted
=
false
)
{
wrapper
=
shallowMount
(
UploadButton
,
{
wrapper
=
shallowMount
(
UploadButton
,
{
attachToDocument
:
true
,
propsData
:
{
propsData
:
{
isSaving
,
isSaving
,
isInverted
,
isInverted
,
...
...
ee/spec/frontend/feature_flags/components/configure_feature_flags_modal_spec.js
View file @
cb0ebe6c
...
@@ -21,7 +21,6 @@ describe('Configure Feature Flags Modal', () => {
...
@@ -21,7 +21,6 @@ describe('Configure Feature Flags Modal', () => {
wrapper
=
shallowMount
(
Component
,
{
wrapper
=
shallowMount
(
Component
,
{
propsData
,
propsData
,
attachToDocument
:
true
,
});
});
});
});
...
...
ee/spec/frontend/ide/components/terminal_sync/terminal_sync_status_spec.js
View file @
cb0ebe6c
...
@@ -36,7 +36,6 @@ describe('ee/ide/components/terminal_sync/terminal_sync_status', () => {
...
@@ -36,7 +36,6 @@ describe('ee/ide/components/terminal_sync/terminal_sync_status', () => {
});
});
wrapper
=
shallowMount
(
TerminalSyncStatus
,
{
wrapper
=
shallowMount
(
TerminalSyncStatus
,
{
attachToDocument
:
true
,
localVue
,
localVue
,
store
,
store
,
});
});
...
...
ee/spec/frontend/logs/components/environment_logs_spec.js
View file @
cb0ebe6c
...
@@ -49,7 +49,6 @@ describe('EnvironmentLogs', () => {
...
@@ -49,7 +49,6 @@ describe('EnvironmentLogs', () => {
const
initWrapper
=
()
=>
{
const
initWrapper
=
()
=>
{
wrapper
=
shallowMount
(
EnvironmentLogsComponent
,
{
wrapper
=
shallowMount
(
EnvironmentLogsComponent
,
{
attachToDocument
:
true
,
propsData
,
propsData
,
store
,
store
,
stubs
:
{
stubs
:
{
...
...
ee/spec/frontend/logs/components/log_control_buttons_spec.js
View file @
cb0ebe6c
...
@@ -19,9 +19,7 @@ describe('LogControlButtons', () => {
...
@@ -19,9 +19,7 @@ describe('LogControlButtons', () => {
const
findRefreshBtn
=
()
=>
wrapper
.
find
(
'
.js-refresh-log
'
);
const
findRefreshBtn
=
()
=>
wrapper
.
find
(
'
.js-refresh-log
'
);
const
initWrapper
=
()
=>
{
const
initWrapper
=
()
=>
{
wrapper
=
shallowMount
(
LogControlButtons
,
{
wrapper
=
shallowMount
(
LogControlButtons
);
attachToDocument
:
true
,
});
};
};
afterEach
(()
=>
{
afterEach
(()
=>
{
...
...
ee/spec/frontend/security_dashboard/components/filter_spec.js
View file @
cb0ebe6c
...
@@ -18,7 +18,6 @@ describe('Filter component', () => {
...
@@ -18,7 +18,6 @@ describe('Filter component', () => {
GlDropdown
:
false
,
GlDropdown
:
false
,
GlSearchBoxByType
:
false
,
GlSearchBoxByType
:
false
,
},
},
attachToDocument
:
true
,
propsData
,
propsData
,
store
,
store
,
});
});
...
...
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