From 27aaab31616d103e6907c4a35aceaa972dde2684 Mon Sep 17 00:00:00 2001 From: Mathew Woods Date: Thu, 20 Oct 2016 11:58:18 -0500 Subject: [PATCH] removed string templating as not supported by node 0.10 - DK/MW --- test/authorizer.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/authorizer.test.js b/test/authorizer.test.js index 1a43f02..5dc737f 100644 --- a/test/authorizer.test.js +++ b/test/authorizer.test.js @@ -51,7 +51,7 @@ describe('authorizer', function() { it('auth headers are supported', function (done){ var socket = io.connect('http://localhost:9000', { 'forceNew':true, - 'extraHeaders': {'Authorization': `Bearer ${this.token}`} + 'extraHeaders': {'Authorization': 'Bearer ' + this.token} }); socket.on('connect', function(){ socket.close(); @@ -83,7 +83,7 @@ describe('authorizer', function() { it('auth headers are supported', function (done){ var socket = io.connect('http://localhost:9000', { 'forceNew':true, - 'extraHeaders': {'Authorization': `Bearer ${this.token}`} + 'extraHeaders': {'Authorization': 'Bearer ' + this.token} }); socket.on('connect', function(){ socket.close();