From dbdc17f14725bf42772a9af40927cd223998601e Mon Sep 17 00:00:00 2001 From: Antoine Gersant Date: Tue, 4 Jul 2017 03:44:56 -0700 Subject: [PATCH] Fixed polyfill --- test/nightwatch/globals.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/nightwatch/globals.js b/test/nightwatch/globals.js index 9a4a131..97f2a0c 100644 --- a/test/nightwatch/globals.js +++ b/test/nightwatch/globals.js @@ -1,7 +1,7 @@ module.exports = { before : function(cb) { console.log("Requiring fetch polyfill"); - fetch = require('node-fetch').fetch; + fetch = require('node-fetch'); cb(); } };