Skip to content

Commit

Permalink
fix: remove unnecessary test
Browse files Browse the repository at this point in the history
  • Loading branch information
adelkahomolova committed Dec 10, 2019
1 parent f8bd6a5 commit cd746f4
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,18 +65,6 @@ describe('TimeToSolvePullRequestsPractice', () => {
expect(evaluated).toEqual(PracticeEvaluationResult.notPracticing);
});

it('returns practicing if there are no open pullrequest', async () => {
mockCollaborationInspector.getPullRequests = async () => {
return bitbucketNock.mockBitbucketPullRequestsResponse({});
};

const evaluated = await practice.evaluate({
...containerCtx.practiceContext,
collaborationInspector: mockCollaborationInspector,
});
expect(evaluated).toEqual(PracticeEvaluationResult.practicing);
});

it('returns always true, as it is always applicable', async () => {
const response = await practice.isApplicable();
expect(response).toBe(true);
Expand Down

0 comments on commit cd746f4

Please sign in to comment.