File tree Expand file tree Collapse file tree 3 files changed +516
-450
lines changed Expand file tree Collapse file tree 3 files changed +516
-450
lines changed Original file line number Diff line number Diff line change 1+ Gallium
Original file line number Diff line number Diff line change @@ -9,18 +9,15 @@ describe("lambdas", () => {
99
1010 beforeEach ( ( ) => {
1111 ssmClientMock . reset ( ) ;
12- // ssmClientMock.on(PutParameterCommand).resolves({
13- // $metadata: {
14- // httpStatusCode: 200,
15- // },
16- // });
17- ssmClientMock
18- . on ( PutParameterCommand )
19- . rejects ( { $metadata : { httpStatusCode : 500 } } ) ;
12+ ssmClientMock . on ( PutParameterCommand ) . resolves ( {
13+ $metadata : {
14+ httpStatusCode : 200 ,
15+ } ,
16+ } ) ;
2017 } ) ;
2118
2219 describe ( "token-rotator" , ( ) => {
23- it ( "returns does not throw error" , async ( ) => {
20+ it ( "completes without error" , async ( ) => {
2421 const result = await LambdaTester ( handler ) . event ( { } ) . expectResult ( ) ;
2522 expect ( result ) . toBeUndefined ( ) ;
2623 } ) ;
You can’t perform that action at this time.
0 commit comments