first commit

This commit is contained in:
s.golasch
2023-08-01 13:49:46 +02:00
commit 1fc239fd54
20238 changed files with 3112246 additions and 0 deletions

33
build/node_modules/browser-pack/test/empty.js generated vendored Normal file
View File

@@ -0,0 +1,33 @@
var test = require('tap').test;
var pack = require('../');
var vm = require('vm');
test('empty', function (t) {
t.plan(1);
var p = pack();
var src = '';
p.on('data', function (buf) { src += buf });
p.on('end', function () {
t.doesNotThrow(function() {
vm.runInNewContext(src, {});
});
});
p.end();
});
test('empty with standalone', function (t) {
t.plan(1);
var p = pack({standalone: 'ABC'});
var src = '';
p.on('data', function (buf) { src += buf });
p.on('end', function () {
t.doesNotThrow(function() {
vm.runInNewContext(src, {});
});
});
p.end();
});