From 05baf36a4652b7e03142893ed715f13690bc85fd Mon Sep 17 00:00:00 2001 From: Florent Vilmart Date: Sun, 13 Mar 2016 19:47:56 -0400 Subject: [PATCH] Fix tests, uses fork of http2 to support node 4.3.0 without ALPN - the push server don't send TLS NPN and makes the http2 lib break - the fork forces the next protocol negociation to h2 as we're sure --- package.json | 2 +- spec/Parse.Push.spec.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index ccc9bb55..019ab031 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "deepcopy": "^0.6.1", "express": "^4.13.4", "gcloud": "^0.28.0", - "http2": "^3.3.2", + "http2": "flovilmart/node-http2", "mailgun-js": "^0.7.7", "mime": "^1.3.4", "mongodb": "~2.1.0", diff --git a/spec/Parse.Push.spec.js b/spec/Parse.Push.spec.js index c9f91253..7dc02d43 100644 --- a/spec/Parse.Push.spec.js +++ b/spec/Parse.Push.spec.js @@ -1,3 +1,4 @@ +'use strict'; describe('Parse.Push', () => { it('should properly send push', (done) => { var pushAdapter = {