Add integration tests

This commit is contained in:
Sergey Dolin 2023-07-03 15:07:52 +02:00
parent e8f3c1bb43
commit 57aa6deac4
2 changed files with 0 additions and 4 deletions

2
dist/index.js vendored
View File

@ -1144,8 +1144,6 @@ class IssuesProcessor {
page
});
(_a = this.statistics) === null || _a === void 0 ? void 0 : _a.incrementFetchedItemsCount(issueResult.data.length);
// state_reason is incompatible - oktokit dependency conflict?
// return issueResult.data.map((issue: Readonly<OctokitIssue>): Issue => {
return issueResult.data.map((issue) => {
return new issue_1.Issue(this.options, issue);
});

View File

@ -572,8 +572,6 @@ export class IssuesProcessor {
});
this.statistics?.incrementFetchedItemsCount(issueResult.data.length);
// state_reason is incompatible - oktokit dependency conflict?
// return issueResult.data.map((issue: Readonly<OctokitIssue>): Issue => {
return issueResult.data.map((issue): Issue => {
return new Issue(this.options, issue as Readonly<OctokitIssue>);
});