Skip to content

Commit da50115

Browse files
committed
drop use of no longer supported node runtime from mock projects
1 parent 8803358 commit da50115

8 files changed

Lines changed: 8 additions & 8 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@aws
2-
runtime nodejs18.x
2+
runtime nodejs24.x
33
# timeout 30
44
# concurrency 1
55
# memory 1152
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@aws
2-
runtime nodejs18.x
2+
runtime nodejs24.x
33
# timeout 30
44
# concurrency 1
55
# memory 1152

test/mock/normal/app.arc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ queue-custom
1414
@http
1515
get / # runs default
1616
# Runtimes
17+
get /nodejs24.x
1718
get /nodejs22.x
1819
get /nodejs20.x
19-
get /nodejs18.x
2020
get /node-esm
2121
get /python3.13
2222
get /python3.9
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@aws
2-
runtime nodejs18.x
2+
runtime nodejs24.x
33
timeout 12
44
# concurrency 1
55
# memory 1152

test/mock/normal/src/http/get-nodejs18_x/index.js renamed to test/mock/normal/src/http/get-nodejs24_x/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
exports.handler = async (event) => {
22
const body = event
3-
body.message = 'Hello from get /nodejs18.x (running nodejs18.x)'
3+
body.message = 'Hello from get /nodejs24.x (running nodejs24.x)'
44
return {
55
statusCode: 200,
66
headers: { 'content-type': 'application/json' },
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@aws
2-
runtime nodejs18.x
2+
runtime nodejs24.x
33
timeout 10
44
# concurrency 1
55
# memory 1152
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@aws
2-
runtime nodejs18.x
2+
runtime nodejs24.x
33
timeout 10
44
# concurrency 1
55
# memory 1152
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@aws
2-
runtime nodejs18.x
2+
runtime nodejs24.x
33
timeout 10
44
# concurrency 1
55
# memory 1152

0 commit comments

Comments
 (0)