Commit 327bc236 authored by Eulyeon Ko's avatar Eulyeon Ko

Capitalize the prop values

parent 272c3922
......@@ -145,13 +145,13 @@ describe('Issue Warning Component', () => {
it('renders confidential & locked messages with noteable "epic"', async () => {
wrapperLocked.setProps({
noteableType: 'epic',
noteableType: 'Epic',
});
wrapperConfidential.setProps({
noteableType: 'epic',
noteableType: 'Epic',
});
wrapperLockedAndConfidential.setProps({
noteableType: 'epic',
noteableType: 'Epic',
});
await wrapperLocked.vm.$nextTick();
......@@ -170,13 +170,13 @@ describe('Issue Warning Component', () => {
it('renders confidential & locked messages with noteable "merge request"', async () => {
wrapperLocked.setProps({
noteableType: 'merge_request',
noteableType: 'MergeRequest',
});
wrapperConfidential.setProps({
noteableType: 'merge_request',
noteableType: 'MergeRequest',
});
wrapperLockedAndConfidential.setProps({
noteableType: 'merge_request',
noteableType: 'MergeRequest',
});
await wrapperLocked.vm.$nextTick();
......
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