11describe ( "emitWarningIfUnsupportedVersion" , ( ) => {
22 let emitWarningIfUnsupportedVersion : any ;
33 const emitWarning = process . emitWarning ;
4- const supportedVersion = "16 .0.0" ;
4+ const supportedVersion = "18 .0.0" ;
55
66 beforeEach ( ( ) => {
77 const module = require ( "./emitWarningIfUnsupportedVersion" ) ;
@@ -14,7 +14,7 @@ describe("emitWarningIfUnsupportedVersion", () => {
1414 process . emitWarning = emitWarning ;
1515 } ) ;
1616
17- describe . skip ( `emits warning for Node.js <${ supportedVersion } ` , ( ) => {
17+ describe ( `emits warning for Node.js <${ supportedVersion } ` , ( ) => {
1818 const getPreviousMajorVersion = ( major : number ) => ( major === 0 ? 0 : major - 1 ) ;
1919
2020 const getPreviousMinorVersion = ( [ major , minor ] : [ number , number ] ) =>
@@ -38,12 +38,12 @@ describe("emitWarningIfUnsupportedVersion", () => {
3838 expect ( process . emitWarning ) . toHaveBeenCalledTimes ( 1 ) ;
3939 expect ( process . emitWarning ) . toHaveBeenCalledWith (
4040 `NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will
41- no longer support Node.js 14 .x on May 1, 2024 .
41+ no longer support Node.js 16 .x on January 6, 2025 .
4242
4343To continue receiving updates to AWS services, bug fixes, and security
44- updates please upgrade to an active Node.js LTS version.
44+ updates please upgrade to a supported Node.js LTS version.
4545
46- More information can be found at: https://a.co/dzr2AJd `
46+ More information can be found at: https://a.co/74kJMmI `
4747 ) ;
4848
4949 // Verify that the warning emits only once.
0 commit comments