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

Capitalize the prop values

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