Skip to content

Commit

Permalink
test(index): optimize split param (#268)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs authored Oct 22, 2023
1 parent 8da0a48 commit e1659b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1885,7 +1885,7 @@ test('Can abort a request using AbortController/AbortSignal', (t) => {
}, { skip: globalThis.AbortController == null })

test('should pass req to ServerResponse', (t) => {
if (parseInt(process.versions.node.split('.')[0], 10) < 16) {
if (parseInt(process.versions.node.split('.', 1)[0], 10) < 16) {
t.pass('Skip because Node version < 16')
t.end()
return
Expand Down

0 comments on commit e1659b3

Please sign in to comment.