Commit 97134028 authored by Ezekiel Kigbo's avatar Ezekiel Kigbo

Address minor FE review comments

parent 6e5717fb
...@@ -172,7 +172,7 @@ export default { ...@@ -172,7 +172,7 @@ export default {
}, },
showVisibilityConfirmModal: { showVisibilityConfirmModal: {
type: Boolean, type: Boolean,
required: true, required: false,
default: false, default: false,
}, },
}, },
......
...@@ -216,7 +216,7 @@ describe('Settings Panel', () => { ...@@ -216,7 +216,7 @@ describe('Settings Panel', () => {
await findProjectVisibilityLevelInput().setValue(visibilityOptions.PRIVATE); await findProjectVisibilityLevelInput().setValue(visibilityOptions.PRIVATE);
await findConfirmDangerButton().vm.$emit('confirm'); await findConfirmDangerButton().vm.$emit('confirm');
expect(wrapper.emitted('confirm').length).toBe(1); expect(wrapper.emitted('confirm')).toHaveLength(1);
}); });
}); });
}); });
......
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