Skip to content

Commit 20e83a5

Browse files
committed
add test to fail on latest node version
1 parent a8fa032 commit 20e83a5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/fail-latest.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/* globals describe, it*/
2+
const assert = require('assert')
3+
4+
describe('node version', () => {
5+
it('is not latest', () => {
6+
assert.ok(process.version < 'v19.0.0')
7+
})
8+
})

0 commit comments

Comments
 (0)