Codebase list node-stream-array / HEAD test / 1.js
HEAD

Tree @HEAD (Download .tar.gz)

1.js @HEADraw · history · blame

var test = require('tape')
    , streamify
;

test('require', function(t) {
    streamify = require('..');

    t.ok(streamify, 'stream-array exists');
    t.equal(typeof(streamify), 'function', 'require returns an object');
    t.equal(0, Object.keys(streamify).length, 'No hidden exports exports');
    t.equal(1, streamify.length, 'No hidden arguments');
    t.end();
});