This commit is contained in:
zino
2021-03-02 00:06:38 +01:00
parent 3a8aab0e9a
commit eeb745b013
3567 changed files with 1234741 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
var browserify = require('../');
var test = require('tap').test;
test('standalone bundle close event', {timeout: 1000}, function (t) {
t.plan(1);
var ended = false;
var b = browserify(__dirname + '/standalone/main.js', {
standalone: 'stand-test'
});
var r = b.bundle();
r.resume();
r.on('end', function() {
t.ok(!ended);
ended = true;
t.end();
});
});