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

21
node_modules/browserify/test/tr_once.js generated vendored Normal file
View File

@@ -0,0 +1,21 @@
var browserify = require('../');
var vm = require('vm');
var test = require('tap').test;
var through = require('through2');
var path = require('path');
test('transform exactly once', function (t) {
t.plan(3);
var b = browserify(__dirname + '/tr_once/main.js', {
transform: function (file) {
t.equal(file, path.join(__dirname, 'tr_once/main.js') );
return through();
}
});
b.bundle(function (err, src) {
t.ifError(err);
vm.runInNewContext(src, { console: { log: log } });
function log (msg) { t.equal(msg, 'wow') }
});
});