Skip to content

Commit

Permalink
test: remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhe committed Oct 29, 2024
1 parent 08bc9a8 commit 4f0daf8
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions private/aws-util-test/src/requests/test-http-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,6 @@ export type HttpRequestMatcher = {
log?: boolean;
};

/**
* @internal
*/
const MOCK_CREDENTIALS = {
accessKeyId: "MOCK_ACCESS_KEY_ID",
secretAccessKey: "MOCK_SECRET_ACCESS_KEY_ID",
token: "MOCK_TOKEN",
};

/**
* Supplied to test clients to assert correct requests.
* @internal
Expand Down Expand Up @@ -82,7 +73,6 @@ export class TestHttpHandler implements HttpHandler {
public watch(client: Client<any, any, any>, matcher: HttpRequestMatcher = this.matcher) {
this.client = client;
this.originalRequestHandler = client.config.requestHandler;
// mock credentials to avoid default chain lookup.

client.config.requestHandler = new TestHttpHandler(matcher);
if (!(client as any)[TestHttpHandler.WATCHER]) {
Expand Down

0 comments on commit 4f0daf8

Please sign in to comment.