diff --git a/src/services/git/GitHubService.spec.ts b/src/services/git/GitHubService.spec.ts index b1f1864bd..d0e0d38bb 100644 --- a/src/services/git/GitHubService.spec.ts +++ b/src/services/git/GitHubService.spec.ts @@ -74,10 +74,25 @@ describe('GitHub Service', () => { body: 'Please pull these awesome changes', head: 'new-topic', base: 'master', + lines: { + additions: 1, + deletions: 0, + }, }; new GitHubNock('1', 'octocat', 1296269, 'Hello-World').getPulls({ pulls: [params] }); - new GitHubNock('1', 'octocat', 1296269, 'Hello-World').getPull(1, params.state, params.title, params.body, params.head, params.base); + new GitHubNock('1', 'octocat', 1296269, 'Hello-World').getPull( + 1, + params.state, + params.title, + params.body, + params.head, + params.base, + undefined, + undefined, + undefined, + params.lines, + ); const response = await service.getPullRequests('octocat', 'Hello-World', { withDiffStat: true });