File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 3232 - uses : actions/checkout@v4
3333 - uses : actions/setup-node@v4
3434 with :
35- node-version : 22 .x
35+ node-version : 24 .x
3636 cache : ' npm'
3737 - run : node -v
3838 - run : npm -v
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ describe('lib/main', function () {
145145 if ( [ 'win32' , 'darwin' ] . includes ( process . platform ) ) {
146146 // It seems that it takes time for file operation in Windows and Mac.
147147 // So set `timeout(120000)` for the whole test.
148- this . timeout ( 120000 )
148+ this . timeout ( 300000 )
149149 }
150150
151151 before ( ( ) => {
@@ -154,6 +154,10 @@ describe('lib/main', function () {
154154 return
155155 }
156156 execFileSync ( 'npm' , [ 'ci' ] , { cwd : sourceDirectoryForTest } )
157+ } )
158+
159+ beforeEach ( ( ) => {
160+ program = Object . assign ( { } , originalProgram ) // clone
157161
158162 // for sdk v3
159163 mockLambdaClient . reset ( )
@@ -184,10 +188,6 @@ describe('lib/main', function () {
184188 mockS3Client . on ( PutObjectCommand ) . resolves ( { } )
185189 } )
186190
187- beforeEach ( ( ) => {
188- program = Object . assign ( { } , originalProgram ) // clone
189- } )
190-
191191 it ( 'version should be set' , ( ) => {
192192 assert . equal ( lambda . version , '1.3.0' )
193193 } )
You can’t perform that action at this time.
0 commit comments