mirror of
https://github.com/actions/labeler.git
synced 2025-12-12 04:27:34 +00:00
Fix unrelated test
This commit is contained in:
@@ -31,7 +31,7 @@ const configureInput = (
|
|||||||
.mockImplementation((name: string, ...opts) => mockInput[name]);
|
.mockImplementation((name: string, ...opts) => mockInput[name]);
|
||||||
jest
|
jest
|
||||||
.spyOn(core, 'getBooleanInput')
|
.spyOn(core, 'getBooleanInput')
|
||||||
.mockImplementation((name: string, ...opts) => mockInput[name] === 'true');
|
.mockImplementation((name: string, ...opts) => mockInput[name] === true);
|
||||||
};
|
};
|
||||||
|
|
||||||
afterAll(() => jest.restoreAllMocks());
|
afterAll(() => jest.restoreAllMocks());
|
||||||
@@ -124,7 +124,7 @@ describe('run', () => {
|
|||||||
configureInput({
|
configureInput({
|
||||||
'repo-token': 'foo',
|
'repo-token': 'foo',
|
||||||
'configuration-path': 'bar',
|
'configuration-path': 'bar',
|
||||||
'sync-labels': true
|
'sync-labels': false
|
||||||
});
|
});
|
||||||
|
|
||||||
usingLabelerConfigYaml('only_pdfs.yml');
|
usingLabelerConfigYaml('only_pdfs.yml');
|
||||||
|
|||||||
Reference in New Issue
Block a user