ensure the correct state component is loaded when hasSHAChanged == true
This commit is contained in:
parent
9bcf95bda0
commit
f19ec4e2ae
|
@ -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…
Reference in New Issue