mirror of
https://github.com/actions/setup-node.git
synced 2025-06-30 06:33:48 +00:00
Swap to env files
This commit is contained in:
parent
c211e95e60
commit
22dd6d2d77
5 changed files with 136 additions and 45 deletions
|
@ -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', () => {
|
|||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue