From 60f44e7cf124e8d4ac709e4ad28d89681a83cacc Mon Sep 17 00:00:00 2001 From: Alexander Kachkaev Date: Wed, 31 May 2023 01:45:27 +0100 Subject: [PATCH] Fix unrelated test --- __tests__/main.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/__tests__/main.test.ts b/__tests__/main.test.ts index 7c8b8f46..1c49c2ab 100644 --- a/__tests__/main.test.ts +++ b/__tests__/main.test.ts @@ -31,7 +31,7 @@ const configureInput = ( .mockImplementation((name: string, ...opts) => mockInput[name]); jest .spyOn(core, 'getBooleanInput') - .mockImplementation((name: string, ...opts) => mockInput[name] === 'true'); + .mockImplementation((name: string, ...opts) => mockInput[name] === true); }; afterAll(() => jest.restoreAllMocks()); @@ -124,7 +124,7 @@ describe('run', () => { configureInput({ 'repo-token': 'foo', 'configuration-path': 'bar', - 'sync-labels': true + 'sync-labels': false }); usingLabelerConfigYaml('only_pdfs.yml');