mirror of
https://github.com/actions/setup-python.git
synced 2025-07-22 11:08:21 +02:00
fix tests
This commit is contained in:
parent
381a73b90e
commit
62079dbf4b
3 changed files with 83 additions and 2 deletions
|
@ -27,6 +27,13 @@ import * as installer from '../src/install-python';
|
|||
const manifestData = require('./data/versions-manifest.json');
|
||||
|
||||
describe('Finder tests', () => {
|
||||
let writeSpy: jest.SpyInstance;
|
||||
|
||||
beforeEach(() => {
|
||||
writeSpy = jest.spyOn(process.stdout, 'write');
|
||||
writeSpy.mockImplementation(() => {});
|
||||
});
|
||||
|
||||
afterEach(() => {
|
||||
jest.resetAllMocks();
|
||||
jest.clearAllMocks();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue