diff --git a/test/nightwatch/environment.js b/test/nightwatch/environment.js index 4503a3f..1ea4c52 100644 --- a/test/nightwatch/environment.js +++ b/test/nightwatch/environment.js @@ -1,7 +1,7 @@ -var assert = require('assert'); +var assert = require("assert"); module.exports = { - 'Fetch Web API' : function(browser) { - assert(typeof fetch == "function", "fetch function is not available"); - } + 'Fetch Web API' : function(browser) { + assert.equal(typeof fetch, "function", "fetch function is not available"); + } };