File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
packages/nested-clients/src Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ import { describe , expect , test as it } from "vitest" ;
2+
3+ import {
4+ AssumeRoleCommand ,
5+ AssumeRoleWithWebIdentityCommand ,
6+ CreateTokenCommand ,
7+ getDefaultRoleAssumer ,
8+ getDefaultRoleAssumerWithWebIdentity ,
9+ SSOOIDCClient ,
10+ STSClient ,
11+ } from "./index" ;
12+
13+ describe ( "@aws-sdk/nested-clients" , ( ) => {
14+ it ( "exports symbols used in internal credential providers" , async ( ) => {
15+ for ( const symbol of [
16+ AssumeRoleCommand ,
17+ AssumeRoleWithWebIdentityCommand ,
18+ CreateTokenCommand ,
19+ getDefaultRoleAssumer ,
20+ getDefaultRoleAssumerWithWebIdentity ,
21+ SSOOIDCClient ,
22+ STSClient ,
23+ ] ) {
24+ expect ( symbol ) . toBeDefined ( ) ;
25+ expect ( symbol ) . toBeInstanceOf ( Function ) ;
26+ }
27+ } ) ;
28+ } ) ;
You can’t perform that action at this time.
0 commit comments