Skip to content

Commit 8afe3d3

Browse files
committed
test: re-add the old hapi test exceptions
1 parent fc6b445 commit 8afe3d3

File tree

1 file changed

+2
-2
lines changed
  • test/instrumentation/modules

1 file changed

+2
-2
lines changed

test/instrumentation/modules/hapi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ var semver = require('semver')
1313
// hapi 17+ requires Node.js 8.9.0 or higher
1414
if (semver.lt(process.version, '8.9.0') && semver.gte(pkg.version, '17.0.0')) process.exit()
1515

16-
// hapi does not work on early versions of Node.js 10 because of https://github.com/nodejs/node/issues/20516
17-
if (semver.satisfies(process.version, '>=10.0.0-rc <10.4.0')) process.exit()
16+
// hapi does not work on Node.js 10 because of https://github.com/nodejs/node/issues/20516
17+
if (semver.gte(process.version, '10.0.0-rc')) process.exit()
1818

1919
var http = require('http')
2020

0 commit comments

Comments
 (0)