Skip to content

Commit

Permalink
Update tests for nodejs20.x default
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanblock committed Jan 24, 2024
1 parent 9418f97 commit 78f2f95
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/unit/src/sandbox/check-runtimes/version-check-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ test('Project global runtime config', async t => {

rawArc = basic
inventory = await _inventory({ rawArc })
localRuntimes = { node: '16.0.0' }
localRuntimes = { node: '20.0.0' }
result = versionCheck({ cwd, inventory, localRuntimes })
t.notOk(result, 'Control: no runtime configuration did not return any issues')

rawArc = basic + '\n@aws\nruntime node'
inventory = await _inventory({ rawArc })
localRuntimes = { node: '16.0.0' }
localRuntimes = { node: '20.0.0' }
result = versionCheck({ cwd, inventory, localRuntimes })
t.notOk(result, 'Control: compatible runtime configuration did not return any issues')

Expand Down Expand Up @@ -109,7 +109,7 @@ test('Per-Lambda runtime config', async t => {

rawArc = basic
inventory = await _inventory({ rawArc })
localRuntimes = { node: '16.0.0' }
localRuntimes = { node: '20.0.0' }
result = versionCheck({ cwd, inventory, localRuntimes })
t.notOk(result, 'Control: no runtime configuration did not return any issues')

Expand Down

0 comments on commit 78f2f95

Please sign in to comment.