test: fix

This commit is contained in:
Rhys Arkins 2020-06-26 16:47:24 +02:00
parent 1783c07ae2
commit 2359ca8e70

View file

@ -535,7 +535,7 @@ describe('workers/pr', () => {
platform.getBranchStatus.mockResolvedValueOnce(BranchStatus.yellow);
platform.getBranchLastCommitTime.mockResolvedValueOnce(new Date());
const { prResult, pr } = await prWorker.ensurePr(config);
expect(prResult).toEqual(PrResult.BlockeddByBranchAutomerge);
expect(prResult).toEqual(PrResult.BlockedByBranchAutomerge);
expect(pr).toBeUndefined();
});
it('should not return no PR if branch automerging taking too long', async () => {