Buckets:
| 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(); | |
| }); | |
Xet Storage Details
- Size:
- 410 Bytes
- Xet hash:
- e52cb9c626bb5247204f7413e79646f6725ae018872a2ccbc6f019b1cb95c7e3
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.