From 5590df7c5d0533a0c02edda16a926229cf1808d8 Mon Sep 17 00:00:00 2001 From: Thomas Boop Date: Tue, 29 Sep 2020 12:36:12 -0400 Subject: [PATCH] revert to old method for tests --- __tests__/authutil.test.ts | 1 + __tests__/installer.test.ts | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/authutil.test.ts b/__tests__/authutil.test.ts index 85dcb313..5c4e1703 100644 --- a/__tests__/authutil.test.ts +++ b/__tests__/authutil.test.ts @@ -20,6 +20,7 @@ describe('authutil tests', () => { .toString(36) .substring(7) ); + process.env['GITHUB_ENV'] = ''; // Stub out ENV file functionality so we can verify it writes to standard out const tempDir = path.join(_runnerDir, randPath, 'temp'); await io.rmRF(tempDir); await io.mkdirP(tempDir); diff --git a/__tests__/installer.test.ts b/__tests__/installer.test.ts index 379ffbfd..e69be0ce 100644 --- a/__tests__/installer.test.ts +++ b/__tests__/installer.test.ts @@ -488,4 +488,3 @@ describe('setup-node', () => { }); }); }); -