Current Dev State

This commit is contained in:
Tim Lorsbach
2025-06-23 20:13:54 +02:00
parent b4f9bb277d
commit ded50edaa2
22617 changed files with 4345095 additions and 174 deletions

View File

@ -0,0 +1,18 @@
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));
});