From 853e6fde5cdd2668d62391c8120aac33d8d924f9 Mon Sep 17 00:00:00 2001 From: Sergey Dolin Date: Thu, 6 Jul 2023 22:57:09 +0200 Subject: [PATCH] fix unit tests --- __tests__/constants/default-processor-options.ts | 1 + src/classes/issue.spec.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/__tests__/constants/default-processor-options.ts b/__tests__/constants/default-processor-options.ts index 0265b644..8b78ec3e 100644 --- a/__tests__/constants/default-processor-options.ts +++ b/__tests__/constants/default-processor-options.ts @@ -17,6 +17,7 @@ export const DefaultProcessorOptions: IIssuesProcessorOptions = Object.freeze({ staleIssueLabel: 'Stale', closeIssueLabel: '', exemptIssueLabels: '', + exemptPinnedIssues: false, stalePrLabel: 'Stale', closePrLabel: '', exemptPrLabels: '', diff --git a/src/classes/issue.spec.ts b/src/classes/issue.spec.ts index a2c82e26..161cac7d 100644 --- a/src/classes/issue.spec.ts +++ b/src/classes/issue.spec.ts @@ -26,6 +26,7 @@ describe('Issue', (): void => { debugOnly: false, deleteBranch: false, exemptIssueLabels: '', + exemptPinnedIssues: false, exemptPrLabels: '', onlyLabels: '', onlyIssueLabels: '',