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
f3c87d7a
Commit
f3c87d7a
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
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
5 additions
and
12 deletions
+5
-12
ee/spec/frontend/vue_shared/security_reports/card_security_reports_app_spec.js
...shared/security_reports/card_security_reports_app_spec.js
+0
-1
ee/spec/frontend/vue_shared/security_reports/components/dismiss_button_spec.js
...shared/security_reports/components/dismiss_button_spec.js
+1
-4
ee/spec/frontend/vue_shared/security_reports/components/dismissal_note_spec.js
...shared/security_reports/components/dismissal_note_spec.js
+1
-1
ee/spec/frontend/vue_shared/security_reports/components/event_item_spec.js
...vue_shared/security_reports/components/event_item_spec.js
+1
-1
ee/spec/frontend/vue_shared/security_reports/components/modal_footer_spec.js
...e_shared/security_reports/components/modal_footer_spec.js
+1
-4
ee/spec/frontend/vue_shared/security_reports/components/modal_spec.js
...tend/vue_shared/security_reports/components/modal_spec.js
+1
-1
No files found.
ee/spec/frontend/vue_shared/security_reports/card_security_reports_app_spec.js
View file @
f3c87d7a
...
...
@@ -21,7 +21,6 @@ describe('Card security reports app', () => {
const
createComponent
=
props
=>
{
wrapper
=
mount
(
CardSecurityDashboardApp
,
{
store
:
createStore
(),
attachToDocument
:
true
,
stubs
:
[
'
security-dashboard-table
'
],
propsData
:
{
hasPipelineData
:
true
,
...
...
ee/spec/frontend/vue_shared/security_reports/components/dismiss_button_spec.js
View file @
f3c87d7a
...
...
@@ -6,10 +6,7 @@ describe('DismissalButton', () => {
let
wrapper
;
const
mountComponent
=
options
=>
{
wrapper
=
mount
(
component
,
{
attachToDocument
:
true
,
...
options
,
});
wrapper
=
mount
(
component
,
options
);
};
describe
(
'
With a non-dismissed vulnerability
'
,
()
=>
{
...
...
ee/spec/frontend/vue_shared/security_reports/components/dismissal_note_spec.js
View file @
f3c87d7a
...
...
@@ -22,7 +22,7 @@ describe('dismissal note', () => {
let
wrapper
;
const
mountComponent
=
(
options
,
mountFn
=
shallowMount
)
=>
{
wrapper
=
mountFn
(
component
,
{
attachToDocument
:
true
,
...
options
}
);
wrapper
=
mountFn
(
component
,
options
);
};
describe
(
'
with no attached project or pipeline
'
,
()
=>
{
...
...
ee/spec/frontend/vue_shared/security_reports/components/event_item_spec.js
View file @
f3c87d7a
...
...
@@ -5,7 +5,7 @@ describe('Event Item', () => {
let
wrapper
;
const
mountComponent
=
(
options
,
mountFn
=
shallowMount
)
=>
{
wrapper
=
mountFn
(
Component
,
{
attachToDocument
:
true
,
...
options
}
);
wrapper
=
mountFn
(
Component
,
options
);
};
describe
(
'
initial state
'
,
()
=>
{
...
...
ee/spec/frontend/vue_shared/security_reports/components/modal_footer_spec.js
View file @
f3c87d7a
...
...
@@ -9,10 +9,7 @@ describe('Security Reports modal footer', () => {
let
wrapper
;
const
mountComponent
=
options
=>
{
wrapper
=
mount
(
component
,
{
attachToDocument
:
true
,
...
options
,
});
wrapper
=
mount
(
component
,
options
);
};
describe
(
'
can only create issue
'
,
()
=>
{
...
...
ee/spec/frontend/vue_shared/security_reports/components/modal_spec.js
View file @
f3c87d7a
...
...
@@ -8,7 +8,7 @@ describe('Security Reports modal', () => {
let
wrapper
;
const
mountComponent
=
(
options
,
mountFn
=
shallowMount
)
=>
{
wrapper
=
mountFn
(
component
,
{
attachToDocument
:
true
,
...
options
}
);
wrapper
=
mountFn
(
component
,
options
);
};
describe
(
'
with permissions
'
,
()
=>
{
...
...
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