Skip to content

Commit 0482ee9

Browse files
author
Stephen Belanger
committed
test(express-graphql): update test and patch ranges to match
1 parent dd89b92 commit 0482ee9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.tav.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,22 +98,22 @@ express-graphql-0.6.11_11:
9898
express-graphql-0.6.12_10:
9999
name: express-graphql
100100
peerDependencies: graphql@^0.10.0
101-
versions: '>=0.6.12'
101+
versions: '>=0.6.12 <0.8'
102102
commands: node test/instrumentation/modules/express-graphql.js
103103
express-graphql-0.6.12_11:
104104
name: express-graphql
105105
peerDependencies: graphql@^0.11.0
106-
versions: '>=0.6.12'
106+
versions: '>=0.6.12 <0.8'
107107
commands: node test/instrumentation/modules/express-graphql.js
108108
express-graphql-0.6.12_12:
109109
name: express-graphql
110110
peerDependencies: graphql@^0.12.0
111-
versions: '>=0.6.12'
111+
versions: '>=0.6.12 <0.8'
112112
commands: node test/instrumentation/modules/express-graphql.js
113113
express-graphql-0.6.12_13:
114114
name: express-graphql
115115
peerDependencies: graphql@^0.13.0
116-
versions: '>=0.6.12'
116+
versions: '>=0.6.12 <0.8'
117117
commands: node test/instrumentation/modules/express-graphql.js
118118

119119
express-queue:

lib/instrumentation/modules/express-graphql.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ var semver = require('semver')
55
module.exports = function (graphqlHTTP, agent, version, enabled) {
66
if (!enabled) return graphqlHTTP
77

8-
if (!semver.satisfies(version, '^0.6.1') || typeof graphqlHTTP !== 'function') {
8+
if (!semver.satisfies(version, '>=0.6.1 <0.8') || typeof graphqlHTTP !== 'function') {
99
agent.logger.debug('express-graphql version %s not supported - aborting...', version)
1010
return graphqlHTTP
1111
}

0 commit comments

Comments
 (0)