@@ -26,7 +26,7 @@ module.exports.test = function (setup, implType) {
2626 title: [Int!] @constraint(minItems: 3)
2727 }`
2828
29- this . request = await setup ( this . typeDefs )
29+ this . request = await setup ( { typeDefs : this . typeDefs } )
3030 } )
3131
3232 it ( 'should pass' , async function ( ) {
@@ -86,7 +86,7 @@ module.exports.test = function (setup, implType) {
8686 title: [Int!] @constraint(maxItems: 2)
8787 }`
8888
89- this . request = await setup ( this . typeDefs )
89+ this . request = await setup ( { typeDefs : this . typeDefs } )
9090 } )
9191
9292 it ( 'should pass' , async function ( ) {
@@ -140,7 +140,7 @@ module.exports.test = function (setup, implType) {
140140 createBook(input: [Int] @constraint(minItems: 3)): Book
141141 }`
142142
143- this . request = await setup ( this . typeDefs )
143+ this . request = await setup ( { typeDefs : this . typeDefs } )
144144 } )
145145
146146 it ( 'should pass' , async function ( ) {
@@ -212,7 +212,7 @@ module.exports.test = function (setup, implType) {
212212 createBook(input: [Int] @constraint(maxItems: 2, max: 100)): Book
213213 }`
214214
215- this . request = await setup ( this . typeDefs )
215+ this . request = await setup ( { typeDefs : this . typeDefs } )
216216 } )
217217
218218 it ( 'should pass' , async function ( ) {
@@ -307,7 +307,7 @@ module.exports.test = function (setup, implType) {
307307 createBook(input: [ID]! @constraint(minItems: 3)): Book
308308 }`
309309
310- this . request = await setup ( this . typeDefs )
310+ this . request = await setup ( { typeDefs : this . typeDefs } )
311311 } )
312312
313313 it ( 'should pass' , async function ( ) {
@@ -365,7 +365,7 @@ module.exports.test = function (setup, implType) {
365365 title: String @constraint(maxLength: 2)
366366 }
367367 `
368- this . request = await setup ( this . typeDefs )
368+ this . request = await setup ( { typeDefs : this . typeDefs } )
369369 } )
370370
371371 it ( 'should pass' , async function ( ) {
0 commit comments