@@ -1269,14 +1269,14 @@ describe('annotations', () => {
12691269 } )
12701270 describe ( "aws" , ( ) => {
12711271 it ( "type" , ( ) => {
1272- @aws ( { type : 'nodejs8.10 ' } )
1272+ @aws ( { type : 'nodejs10.x ' } )
12731273 class RuntimeTestClass { }
12741274
12751275 const runtimeValue = getMetadata ( CLASS_AWSRUNTIMEKEY , RuntimeTestClass )
12761276 const memoryValue = getMetadata ( CLASS_AWSMEMORYSIZEKEY , RuntimeTestClass )
12771277 const timeoutValue = getMetadata ( CLASS_AWSTIMEOUTKEY , RuntimeTestClass )
12781278
1279- expect ( runtimeValue ) . to . equal ( 'nodejs8.10 ' )
1279+ expect ( runtimeValue ) . to . equal ( 'nodejs10.x ' )
12801280 expect ( memoryValue ) . to . undefined
12811281 expect ( timeoutValue ) . to . undefined
12821282 } )
@@ -1305,14 +1305,14 @@ describe('annotations', () => {
13051305 expect ( timeoutValue ) . to . equal ( 3 )
13061306 } )
13071307 it ( "all" , ( ) => {
1308- @aws ( { type : 'nodejs8.10 ' , memorySize : 100 , timeout : 3 } )
1308+ @aws ( { type : 'nodejs10.x ' , memorySize : 100 , timeout : 3 } )
13091309 class RuntimeTestClass { }
13101310
13111311 const runtimeValue = getMetadata ( CLASS_AWSRUNTIMEKEY , RuntimeTestClass )
13121312 const memoryValue = getMetadata ( CLASS_AWSMEMORYSIZEKEY , RuntimeTestClass )
13131313 const timeoutValue = getMetadata ( CLASS_AWSTIMEOUTKEY , RuntimeTestClass )
13141314
1315- expect ( runtimeValue ) . to . equal ( 'nodejs8.10 ' )
1315+ expect ( runtimeValue ) . to . equal ( 'nodejs10.x ' )
13161316 expect ( memoryValue ) . to . equal ( 100 )
13171317 expect ( timeoutValue ) . to . equal ( 3 )
13181318 } )
0 commit comments