Commit ad5498e9 authored by Fatih Acet's avatar Fatih Acet

Merge branch 'migrate-approvals-check-popover-specs' into 'master'

Migrate approval check popover specs to Jest & VTU

See merge request gitlab-org/gitlab!19263
parents 65cd50d1 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);
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment