Skip to content

Commit be33900

Browse files
authored
test: add active release line test
1 parent b741c8a commit be33900

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ async function t () {
1414
assert.ok(await isNodeVulnerable('18.14.0'))
1515
assert.ok(await isNodeVulnerable('16.19.0'))
1616
assert.ok(await isNodeVulnerable('20.8.0'))
17+
assert.ok(await isNodeVulnerable('20.11.0'))
1718

19+
const [active, _] = await nv('active')
20+
assert.ok(!await isNodeVulnerable(active))
21+
1822
const ltsVersions = await nv(['lts'])
1923
if (ltsVersions.length > 1) {
2024
assert.rejects(() => isNodeVulnerable('lts'), /not get exactly one version/)

0 commit comments

Comments
 (0)