From 75a44e1f8b639102f67345e0c92bdba22791462e Mon Sep 17 00:00:00 2001 From: Tim Nguyen Date: Wed, 6 Oct 2021 14:52:18 -0400 Subject: [PATCH] Remove code accidentally added --- main/integration-tests/jest.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/integration-tests/jest.config.js b/main/integration-tests/jest.config.js index d4763a4683..e668425446 100644 --- a/main/integration-tests/jest.config.js +++ b/main/integration-tests/jest.config.js @@ -34,7 +34,7 @@ async function init() { const parsedArgs = parse(process.argv); // Get the stage argument either from the command line args or from the process environment variables - const stage = parsedArgs.stage || parsedArgs.s || process.env.STAGE || 'tre'; + const stage = parsedArgs.stage || parsedArgs.s || process.env.STAGE; if (_.isEmpty(stage)) { throw new Error( 'No "stage" argument was passed. Please pass the stage name via the command line.\nThe "stage" is your yaml configuration file name (without .yml).\nExample: $ pnpm intTest -- --stage=\n', @@ -82,6 +82,7 @@ async function init() { const ssm = await aws.services.parameterStore(); const passwordPath = settingsStore.get('passwordPath'); const password = await ssm.getParameter(passwordPath); + const adminIdToken = await getIdToken({ username: settingsStore.get('username'), password,