Skip to content

Commit 4f0daf8

Browse files
committed
test: remove unused
1 parent 08bc9a8 commit 4f0daf8

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

private/aws-util-test/src/requests/test-http-handler.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,6 @@ export type HttpRequestMatcher = {
2828
log?: boolean;
2929
};
3030

31-
/**
32-
* @internal
33-
*/
34-
const MOCK_CREDENTIALS = {
35-
accessKeyId: "MOCK_ACCESS_KEY_ID",
36-
secretAccessKey: "MOCK_SECRET_ACCESS_KEY_ID",
37-
token: "MOCK_TOKEN",
38-
};
39-
4031
/**
4132
* Supplied to test clients to assert correct requests.
4233
* @internal
@@ -82,7 +73,6 @@ export class TestHttpHandler implements HttpHandler {
8273
public watch(client: Client<any, any, any>, matcher: HttpRequestMatcher = this.matcher) {
8374
this.client = client;
8475
this.originalRequestHandler = client.config.requestHandler;
85-
// mock credentials to avoid default chain lookup.
8676

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

0 commit comments

Comments
 (0)