Better output about why polyfill is missing

This commit is contained in:
Antoine Gersant 2017-07-04 02:50:06 -07:00
parent e6eec5cbad
commit 2091286953

View file

@ -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");
}
};