mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-13 07:26:26 +00:00
test: fix
This commit is contained in:
parent
1783c07ae2
commit
2359ca8e70
1 changed files with 1 additions and 1 deletions
|
@ -535,7 +535,7 @@ describe('workers/pr', () => {
|
||||||
platform.getBranchStatus.mockResolvedValueOnce(BranchStatus.yellow);
|
platform.getBranchStatus.mockResolvedValueOnce(BranchStatus.yellow);
|
||||||
platform.getBranchLastCommitTime.mockResolvedValueOnce(new Date());
|
platform.getBranchLastCommitTime.mockResolvedValueOnce(new Date());
|
||||||
const { prResult, pr } = await prWorker.ensurePr(config);
|
const { prResult, pr } = await prWorker.ensurePr(config);
|
||||||
expect(prResult).toEqual(PrResult.BlockeddByBranchAutomerge);
|
expect(prResult).toEqual(PrResult.BlockedByBranchAutomerge);
|
||||||
expect(pr).toBeUndefined();
|
expect(pr).toBeUndefined();
|
||||||
});
|
});
|
||||||
it('should not return no PR if branch automerging taking too long', async () => {
|
it('should not return no PR if branch automerging taking too long', async () => {
|
||||||
|
|
Loading…
Reference in a new issue