Skip to content

Commit

Permalink
test: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Jun 26, 2020
1 parent 1783c07 commit 2359ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/workers/pr/index.spec.ts
Expand Up @@ -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 () => {
Expand Down

0 comments on commit 2359ca8

Please sign in to comment.