Skip to content

Commit

Permalink
test: re-add the old hapi test exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
watson committed Jul 18, 2018
1 parent fc6b445 commit 8afe3d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/instrumentation/modules/hapi.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ var semver = require('semver')
// hapi 17+ requires Node.js 8.9.0 or higher
if (semver.lt(process.version, '8.9.0') && semver.gte(pkg.version, '17.0.0')) process.exit()

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

var http = require('http')

Expand Down

0 comments on commit 8afe3d3

Please sign in to comment.