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
9c0cc9cf
Commit
9c0cc9cf
authored
Oct 28, 2019
by
Paul Gascou-Vaillancourt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate approval check popover specs to Jest
parent
dd78e9b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
ee/spec/frontend/approvals/components/approval_check_popover_spec.js
...ntend/approvals/components/approval_check_popover_spec.js
+4
-3
No files found.
ee/spec/
javascripts
/approvals/components/approval_check_popover_spec.js
→
ee/spec/
frontend
/approvals/components/approval_check_popover_spec.js
View file @
9c0cc9cf
import
Vue
from
'
vue
'
;
import
{
mount
,
createLocalVue
}
from
'
@vue/test-utils
'
;
import
{
GlPopover
}
from
'
@gitlab/ui
'
;
import
{
TEST_HOST
}
from
'
spec
/test_constants
'
;
import
{
TEST_HOST
}
from
'
helpers
/test_constants
'
;
import
component
from
'
ee/approvals/components/approval_check_popover.vue
'
;
describe
(
'
Approval Check Popover
'
,
()
=>
{
...
...
@@ -20,9 +20,10 @@ describe('Approval Check Popover', () => {
describe
(
'
with a documentation link
'
,
()
=>
{
const
documentationLink
=
`
${
TEST_HOST
}
/documentation`
;
beforeEach
(
done
=>
{
wrapper
.
setProps
({
documentationLink
});
wrapper
.
setProps
({
documentationLink
,
});
Vue
.
nextTick
(
done
);
});
...
...
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