Skip to content

Commit d626cdc

Browse files
committed
debug
1 parent 60d9469 commit d626cdc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
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

test/main.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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
})

0 commit comments

Comments
 (0)