push all website files

This commit is contained in:
Jacob Levine committed 2019-01-06 13:14:45 -06:00
1 parent d7301e26c3
commit d2d5d4c04e
15662 files changed
+2166516

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
var tape = require("tape");
var fetch = require("..");
tape.test("fetch", function(test) {
if (typeof Promise !== "undefined") {
var promise = fetch("NOTFOUND");
promise.catch(function() {});
test.ok(promise instanceof Promise, "should return a promise if callback has been omitted");
}
// TODO - some way to test this properly?
test.end();
});