From e0b6539133bba39a9b9f07412e9462b945670f1e Mon Sep 17 00:00:00 2001 From: Francesco Renzi Date: Thu, 13 Oct 2022 10:35:16 +0100 Subject: [PATCH] Remove output env var from tests --- __tests__/installer.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/__tests__/installer.test.ts b/__tests__/installer.test.ts index 335797404..28d77e7c6 100644 --- a/__tests__/installer.test.ts +++ b/__tests__/installer.test.ts @@ -46,6 +46,7 @@ describe('setup-node', () => { // @actions/core console.log('::stop-commands::stoptoken'); // Disable executing of runner commands when running tests in actions process.env['GITHUB_PATH'] = ''; // Stub out ENV file functionality so we can verify it writes to standard out + process.env['GITHUB_OUTPUT'] = ''; // 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]);