Skip to content

Commit

Permalink
SetEnabledRegions for integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
brcourt authored and OlafConijn committed Jun 15, 2022
1 parent f1597b8 commit 14edfe0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/integration-tests/base-integration-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const baseBeforeAll = async (profileName: string = profileForIntegrationT
process.on('unhandledRejection', error => {
// Will print "unhandledRejection err is not defined"
expect(`${error}`).toBeUndefined();
});
});

//const logDebugMock = jest.spyOn(ConsoleUtil, 'LogDebug').mockImplementation();
const logInfoMock = jest.spyOn(ConsoleUtil, 'LogInfo').mockImplementation();
Expand All @@ -28,6 +28,7 @@ export const baseBeforeAll = async (profileName: string = profileForIntegrationT
() => new EnvironmentCredentials(environmentCredentials),
() => new SharedIniFileCredentials({ profile: profileName }),
]);
await AwsUtil.SetEnabledRegions();


const stateBucketName = `${v4()}`;
Expand Down

0 comments on commit 14edfe0

Please sign in to comment.