mirror of
https://github.com/actions/setup-node.git
synced 2025-12-15 01:01:38 +08:00
Swap to env files
This commit is contained in:
@@ -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', () => {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user