summaryrefslogtreecommitdiff
path: root/frontend-old/node_modules/@protobufjs/fetch/tests
diff options
context:
space:
mode:
Diffstat (limited to 'frontend-old/node_modules/@protobufjs/fetch/tests')
-rw-r--r--frontend-old/node_modules/@protobufjs/fetch/tests/index.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/frontend-old/node_modules/@protobufjs/fetch/tests/index.js b/frontend-old/node_modules/@protobufjs/fetch/tests/index.js
deleted file mode 100644
index 3cb0dae..0000000
--- a/frontend-old/node_modules/@protobufjs/fetch/tests/index.js
+++ /dev/null
@@ -1,16 +0,0 @@
-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();
-});