mirror of
https://github.com/actions/setup-go.git
synced 2025-06-30 21:23:43 +00:00
Swap to env files
This commit is contained in:
parent
7ff6287c80
commit
54fefe5798
4 changed files with 98 additions and 42 deletions
|
@ -37,6 +37,7 @@ describe('setup-go', () => {
|
|||
|
||||
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]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue