Skip to content

Commit

Permalink
test(credential-provider-node): add region to test client (#5771)
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhe authored Feb 6, 2024
1 parent 7735c34 commit 4111e1b
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,6 @@ describe("credential-provider-node integration test", () => {
});

beforeEach(async () => {
sts = new STS({
requestHandler: mockRequestHandler,
});
for (const variable in RESERVED_ENVIRONMENT_VARIABLES) {
delete process.env[variable];
}
Expand All @@ -249,6 +246,10 @@ describe("credential-provider-node integration test", () => {
output: "json",
},
};
sts = new STS({
region: "us-west-2",
requestHandler: mockRequestHandler,
});
});

afterEach(async () => {
Expand Down

0 comments on commit 4111e1b

Please sign in to comment.