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
71d9844d
Commit
71d9844d
authored
Aug 24, 2020
by
Illya Klymov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix failing tests in @vue/test-utils 1.x
parent
e8c7d7ed
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
2 deletions
+11
-2
ee/spec/frontend/groups/settings/components/comma_separated_list_token_selector_spec.js
...gs/components/comma_separated_list_token_selector_spec.js
+2
-1
ee/spec/frontend/license_compliance/components/app_spec.js
ee/spec/frontend/license_compliance/components/app_spec.js
+8
-0
spec/frontend/monitoring/components/dashboard_spec.js
spec/frontend/monitoring/components/dashboard_spec.js
+1
-1
No files found.
ee/spec/frontend/groups/settings/components/comma_separated_list_token_selector_spec.js
View file @
71d9844d
...
...
@@ -61,13 +61,14 @@ describe('CommaSeparatedListTokenSelector', () => {
input
.
setAttribute
(
'
type
'
,
'
text
'
);
input
.
id
=
'
comma-separated-list
'
;
document
.
body
.
appendChild
(
div
);
d
iv
.
appendChild
(
input
);
d
ocument
.
body
.
appendChild
(
input
);
});
afterEach
(()
=>
{
wrapper
.
destroy
();
wrapper
=
null
;
div
.
remove
();
input
.
remove
();
});
describe
(
'
when component is mounted
'
,
()
=>
{
...
...
ee/spec/frontend/license_compliance/components/app_spec.js
View file @
71d9844d
...
...
@@ -41,6 +41,13 @@ const documentationPath = '/';
const
noop
=
()
=>
{};
const
transitionStub
=
()
=>
({
render
()
{
// eslint-disable-next-line no-underscore-dangle
return
this
.
$options
.
_renderChildren
;
},
});
const
createComponent
=
({
state
,
props
,
options
})
=>
{
const
fakeStore
=
new
Vuex
.
Store
({
modules
:
{
...
...
@@ -88,6 +95,7 @@ const createComponent = ({ state, props, options }) => {
},
...
options
,
store
:
fakeStore
,
stubs
:
{
transition
:
transitionStub
()
},
});
};
...
...
spec/frontend/monitoring/components/dashboard_spec.js
View file @
71d9844d
...
...
@@ -645,7 +645,7 @@ describe('Dashboard', () => {
it
(
'
it enables draggables
'
,
()
=>
{
expect
(
findRearrangeButton
().
attributes
(
'
pressed
'
)).
toBeTruthy
();
expect
(
findEnabledDraggables
()
).
toEqual
(
findDraggables
()
);
expect
(
findEnabledDraggables
()
.
wrappers
).
toEqual
(
findDraggables
().
wrappers
);
});
it
(
'
metrics can be swapped
'
,
()
=>
{
...
...
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