Skip to content
Snippets Groups Projects
Commit f19ec4e2 authored by Mike Greiling's avatar Mike Greiling
Browse files

ensure the correct state component is loaded when hasSHAChanged == true

parent 9bcf95bd
No related branches found
No related tags found
2 merge requests!12073Add RC2 changes to 9-3-stable,!11316Add "SHA mismatch" state to the MR widget
Loading
Loading
@@ -25,6 +25,9 @@ describe('getStateKey', () => {
context.canBeMerged = true;
expect(bound()).toEqual('readyToMerge');
 
context.hasSHAChanged = true;
expect(bound()).toEqual('shaMismatch');
context.isPipelineBlocked = true;
expect(bound()).toEqual('pipelineBlocked');
 
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