Skip to content

Commit 659ae3e

Browse files
david-lunatrentm
andauthored
Update test/cloud-metadata/_lib.js
Co-authored-by: Trent Mick <[email protected]>
1 parent 32e651b commit 659ae3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/cloud-metadata/_lib.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,8 @@ function loadFixtureData(provider, fixtureName) {
244244
}
245245

246246
/**
247-
* this function returns a HTTP server which replaces the previous usage of `express`
248-
* for mocking cloud metadata responses.
247+
* This function returns a HTTP server similar enough to Express for these tests,
248+
* but avoids using Express because v5 only works with node >=18.
249249
*/
250250
function createApp() {
251251
const routes = new Map();

0 commit comments

Comments
 (0)