From 0ae2f632ffc66bc1863c47fcfc009e807daa4ef6 Mon Sep 17 00:00:00 2001 From: Gregor Martynus <39992+gr2m@users.noreply.github.com> Date: Wed, 20 Jan 2021 12:08:33 -0800 Subject: [PATCH] WIP trying to mock unset environment variables by setting them to empty strings --- test/integration.test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/integration.test.js b/test/integration.test.js index f07e4db0..8939f220 100644 --- a/test/integration.test.js +++ b/test/integration.test.js @@ -36,6 +36,8 @@ const env = { GITHUB_URL: mockServer.url, GITHUB_EVENT_NAME: 'push', GITHUB_REF: 'master', + GITHUB_EVENT_PATH: '', + GITHUB_ACTION: '' }; // Environment variables used only for the local npm command used to do verification const testEnv = {