Swap to env files

This commit is contained in:
Thomas Boop 2020-09-29 10:44:24 -04:00
parent c211e95e60
commit 22dd6d2d77
5 changed files with 136 additions and 45 deletions

View file

@ -42,6 +42,7 @@ describe('setup-node', () => {
beforeEach(() => {
// @actions/core
process.env['GITHUB_PATH'] = ''; // Stub out ENV file functionality so we can verify it writes to standard out
inputs = {};
inSpy = jest.spyOn(core, 'getInput');
inSpy.mockImplementation(name => inputs[name]);
@ -487,3 +488,4 @@ describe('setup-node', () => {
});
});
});