Skip to content
Snippets Groups Projects
Verified Commit ee897953 authored by Paul Slaughter's avatar Paul Slaughter :two:
Browse files

Refactor "approvals" into directory

**Why?**
This directory will host the Vue components for multi rule approvals.

https://gitlab.com/gitlab-org/gitlab-ee/issues/1979
parent 117490d0
No related branches found
No related tags found
No related merge requests found
import initApprovals from '../../../../approvals';
import initApprovals from 'ee/approvals/setup_single_rule_approvals';
export default () => initApprovals();
import $ from 'jquery';
import approvals from 'ee/approvals';
import setup from 'ee/approvals/setup_single_rule_approvals';
describe('Approvals', () => {
describe('EE setup_single_rule_approvals', () => {
preloadFixtures('merge_requests_ee/merge_request_edit.html.raw');
let $approversEl;
......@@ -11,7 +11,7 @@ describe('Approvals', () => {
loadFixtures('merge_requests_ee/merge_request_edit.html.raw');
$approversEl = $('ul.approver-list');
$suggestionEl = $('.suggested-approvers');
approvals();
setup();
});
describe('add suggested approver', () => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment