From d72577006df1af999c626ff8e3e664c2cda9da16 Mon Sep 17 00:00:00 2001 From: Taras Mankovski Date: Fri, 11 Sep 2020 14:49:28 -0400 Subject: [PATCH] Add missing environment variables from tests --- packages/e2e-test/src/e2e-test.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/e2e-test/src/e2e-test.ts b/packages/e2e-test/src/e2e-test.ts index 2049a720a0..10d3cc9950 100644 --- a/packages/e2e-test/src/e2e-test.ts +++ b/packages/e2e-test/src/e2e-test.ts @@ -196,7 +196,6 @@ async function createApp( env: { ...process.env, APP_CONFIG_app_baseUrl: '"http://localhost:3001"', - APP_CONFIG_scaffolder_github_token: '"abc"', }, }); @@ -273,6 +272,10 @@ async function createPlugin(pluginName: string, appDir: string) { async function testAppServe(pluginName: string, appDir: string) { const startApp = spawnPiped(['yarn', 'start'], { cwd: appDir, + env: { + ...process.env, + GITHUB_ACCESS_TOKEN: 'abc', + }, }); Browser.localhost('localhost', 3000); @@ -343,6 +346,10 @@ async function testBackendStart(appDir: string, isPostgres: boolean) { const child = spawnPiped(['yarn', 'workspace', 'backend', 'start'], { cwd: appDir, + env: { + ...process.env, + GITHUB_ACCESS_TOKEN: 'abc', + }, }); let stdout = '';