We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 139aa8d commit f560a39Copy full SHA for f560a39
packages/nested-clients/src/index.spec.ts
@@ -32,3 +32,15 @@ describe("@aws-sdk/nested-clients/*", () => {
32
}
33
});
34
35
+
36
+describe("@aws-sdk/nested-clients/sts", () => {
37
+ /**
38
+ * This is to validate that the rewrite happened as expected in
39
+ * runtimeConfig.ts. This is not the case with the canonical STS client from
40
+ * \@aws-sdk/client-sts.
41
+ */
42
+ it("has no credentialDefaultProvider", async () => {
43
+ const client = new STSClient({});
44
+ expect(client.config.credentialDefaultProvider).toBeUndefined();
45
+ });
46
+});
0 commit comments