Commit c1bb78a0 authored by Paul Slaughter's avatar Paul Slaughter Committed by Mark Chao

FE: Remove legacy approval feature in MR files

parent 554fbb2a
...@@ -21,7 +21,6 @@ describe('mrWidgetOptions', () => { ...@@ -21,7 +21,6 @@ describe('mrWidgetOptions', () => {
const COLLABORATION_MESSAGE = 'Allows commits from members who can merge to the target branch'; const COLLABORATION_MESSAGE = 'Allows commits from members who can merge to the target branch';
beforeEach(() => { beforeEach(() => {
gon.features = { approvalRules: false };
// Prevent component mounting // Prevent component mounting
delete mrWidgetOptions.el; delete mrWidgetOptions.el;
...@@ -32,7 +31,6 @@ describe('mrWidgetOptions', () => { ...@@ -32,7 +31,6 @@ describe('mrWidgetOptions', () => {
}); });
afterEach(() => { afterEach(() => {
gon.features = null;
vm.$destroy(); vm.$destroy();
}); });
......
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