Comparing version 5.3.1 to 5.3.2
@@ -100,3 +100,5 @@ 'use strict'; | ||
exports.graphql = Graphql; | ||
internals.graphqlHandler = async function (request, h) { | ||
@@ -103,0 +105,0 @@ if (request.method.toUpperCase() === 'OPTIONS') { |
{ | ||
"name": "graphi", | ||
"version": "5.3.1", | ||
"version": "5.3.2", | ||
"description": "hapi graphql plugin", | ||
@@ -5,0 +5,0 @@ "main": "lib", |
@@ -32,2 +32,6 @@ 'use strict'; | ||
it('exposes graphql library as a property', () => { | ||
expect(Graphi.graphql).to.exist(); | ||
}); | ||
it('will handle graphql GET requests with promise resolver', async () => { | ||
@@ -34,0 +38,0 @@ const schema = ` |
52882
938