Skip to content
Snippets Groups Projects
Commit 314618d5 authored by Payton Burdette's avatar Payton Burdette
Browse files

Update failing spec

Update get state key
spec with the new changes
on what state to show when.
parent 02d09198
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -30,6 +30,7 @@ describe('getStateKey', () => {
expect(bound()).toEqual('notAllowedToMerge');
 
context.autoMergeEnabled = true;
context.hasMergeableDiscussionsState = true;
 
expect(bound()).toEqual('autoMergeEnabled');
 
Loading
Loading
@@ -44,6 +45,7 @@ describe('getStateKey', () => {
expect(bound()).toEqual('pipelineBlocked');
 
context.hasMergeableDiscussionsState = true;
context.autoMergeEnabled = false;
 
expect(bound()).toEqual('unresolvedDiscussions');
 
Loading
Loading
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