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
089c407e
Commit
089c407e
authored
Dec 25, 2019
by
Illya Klymov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update tests to respect html() changes
parent
13adffbc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
ee/spec/frontend/geo_designs/components/geo_designs_spec.js
ee/spec/frontend/geo_designs/components/geo_designs_spec.js
+1
-1
ee/spec/frontend/vue_mr_widget/components/blocking_merge_requests/blocking_merge_requests_report_spec.js
...ing_merge_requests/blocking_merge_requests_report_spec.js
+1
-1
spec/frontend/notes/components/discussion_notes_replies_wrapper_spec.js
...notes/components/discussion_notes_replies_wrapper_spec.js
+2
-2
No files found.
ee/spec/frontend/geo_designs/components/geo_designs_spec.js
View file @
089c407e
...
...
@@ -52,7 +52,7 @@ describe('GeoDesigns', () => {
});
it
(
'
is hidden
'
,
()
=>
{
expect
(
findGlPagination
().
html
()).
toBeUndefined
(
);
expect
(
findGlPagination
().
isEmpty
()).
toBe
(
true
);
});
});
...
...
ee/spec/frontend/vue_mr_widget/components/blocking_merge_requests/blocking_merge_requests_report_spec.js
View file @
089c407e
...
...
@@ -51,7 +51,7 @@ describe('BlockingMergeRequestsReport', () => {
props
.
mr
.
blockingMergeRequests
.
visible_merge_requests
=
{};
createComponent
(
props
);
expect
(
wrapper
.
html
()).
toBeUndefined
(
);
expect
(
wrapper
.
isEmpty
()).
toBe
(
true
);
});
it
(
'
passes merged MRs as resolved issues and anything else as unresolved
'
,
()
=>
{
...
...
spec/frontend/notes/components/discussion_notes_replies_wrapper_spec.js
View file @
089c407e
...
...
@@ -30,7 +30,7 @@ describe('DiscussionNotesRepliesWrapper', () => {
});
it
(
'
renders children directly
'
,
()
=>
{
expect
(
wrapper
.
html
()
).
toEqual
(
`<ul>
${
TEST_CHILDREN
}
</ul>`
);
expect
(
wrapper
.
element
.
outerHTML
).
toEqual
(
`<ul>
${
TEST_CHILDREN
}
</ul>`
);
});
});
...
...
@@ -45,7 +45,7 @@ describe('DiscussionNotesRepliesWrapper', () => {
const
notes
=
wrapper
.
find
(
'
li.discussion-collapsible ul.notes
'
);
expect
(
notes
.
exists
()).
toBe
(
true
);
expect
(
notes
.
html
()
).
toEqual
(
`<ul class="notes">
${
TEST_CHILDREN
}
</ul>`
);
expect
(
notes
.
element
.
outerHTML
).
toEqual
(
`<ul class="notes">
${
TEST_CHILDREN
}
</ul>`
);
});
});
});
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