Files: d2f2697f296dd39aed6a8b63c6d04a736a7db5b3 / node_modules / pull-stream / test / collect.js
230 bytesRaw
1 | var pull = require('../') |
2 | var test = require('tape') |
3 | |
4 | test('collect empty', function (t) { |
5 | pull( |
6 | pull.empty(), |
7 | pull.collect(function (err, ary) { |
8 | t.notOk(err) |
9 | t.deepEqual(ary, []) |
10 | t.end() |
11 | }) |
12 | ) |
13 | }) |
14 |
Built with git-ssb-web