queued-chunk-store
Advanced tools
Comparing version 1.0.3 to 1.1.0
{ | ||
"name": "queued-chunk-store", | ||
"version": "1.0.3", | ||
"version": "1.1.0", | ||
"description": "Queued .get for abstract-chunk-store compliant stores", | ||
@@ -25,2 +25,3 @@ "main": "index.js", | ||
"fs-chunk-store": "^1.4.0", | ||
"immediate-chunk-store": "^1.0.8", | ||
"memory-chunk-store": "^1.2.0", | ||
@@ -27,0 +28,0 @@ "tape": "^4.5.1" |
var abstractTests = require('abstract-chunk-store/tests') | ||
var Queued = require('./') | ||
var Immediate = require('immediate-chunk-store') | ||
var MemoryChunkStore = require('memory-chunk-store') | ||
@@ -15,2 +16,6 @@ var FSChunkStore = require('fs-chunk-store') | ||
abstractTests(test, function (chunkLength) { | ||
return new Queued(Immediate(MemoryChunkStore(chunkLength))); | ||
}) | ||
test('get before put', function (t) { | ||
@@ -17,0 +22,0 @@ var store = new Queued(new MemoryChunkStore(10)) |
5210
84
5