Skip to content

Commit

Permalink
Remove code accidentally added
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Nguyen committed Oct 6, 2021
1 parent fac4cf9 commit 75a44e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main/integration-tests/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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=<stage name>\n',
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 75a44e1

Please sign in to comment.