Commit f19ec4e2 authored by Mike Greiling's avatar Mike Greiling

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

parent 9bcf95bd
...@@ -25,6 +25,9 @@ describe('getStateKey', () => { ...@@ -25,6 +25,9 @@ describe('getStateKey', () => {
context.canBeMerged = true; context.canBeMerged = true;
expect(bound()).toEqual('readyToMerge'); expect(bound()).toEqual('readyToMerge');
context.hasSHAChanged = true;
expect(bound()).toEqual('shaMismatch');
context.isPipelineBlocked = true; context.isPipelineBlocked = true;
expect(bound()).toEqual('pipelineBlocked'); expect(bound()).toEqual('pipelineBlocked');
......
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