Sha256: 98c191ba064771ee2c5fdc3e08d583e1caa1c57a5566dd5490c36c0c7c624187
Contents?: true
Size: 497 Bytes
Versions: 7
Compression:
Stored size: 497 Bytes
Contents
var browserify = require('../'); var test = require('tap').test; var isReadable = require('isstream').isReadable; var isWritable = require('isstream').isWritable; test('bundle is readable stream', function (t) { t.plan(4); var b = browserify(__dirname + '/entry/main.js'); b.on('bundle', function(bundle) { t.ok(isReadable(bundle)); t.notok(isWritable(bundle)); }); var stream = b.bundle(); t.ok(isReadable(stream)); t.notok(isWritable(stream)); });
Version data entries
7 entries across 7 versions & 2 rubygems