refactor: init cypress-cucumber-preprocessor install.

This commit is contained in:
2021-09-02 17:02:45 +02:00
parent 89ec2d42ac
commit 1aa57bbd0a
5000 changed files with 408119 additions and 231 deletions

18
node_modules/browserify/test/entry_expose.js generated vendored Normal file
View File

@@ -0,0 +1,18 @@
var test = require('tap').test;
var browserify = require('../');
var vm = require('vm');
test('entry expose', function (t) {
t.plan(3)
var b = browserify();
b.add(__dirname + '/entry_expose/main.js');
b.require(__dirname + '/entry_expose/main.js', { expose: 'x' });
b.bundle(function (err, src) {
t.ifError(err);
var c = { console: { log: log } };
function log (msg) { t.equal(msg, 'wow') }
vm.runInNewContext(src, c);
t.equal(c.require('x'), 555);
})
});