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

2
node_modules/browserify/test/tr/f.js generated vendored Normal file
View File

@@ -0,0 +1,2 @@
t.equal(XYZ, 909);
module.exports = function (x) { return x + BBB }

9
node_modules/browserify/test/tr/main.js generated vendored Normal file
View File

@@ -0,0 +1,9 @@
var f = require('./f.js');
var m = require('m');
var g = require('g');
t.equal(require('./subdir/g.js'), 999);
t.equal(m(f(AAA)), 555, 'transformation scope');
t.equal(g(3), 332, 'sub-transformation applied');
t.equal(typeof GGG, 'undefined', 'GGG leak');
t.equal(XYZ, 909);

View File

@@ -0,0 +1,2 @@
t.equal(typeof XYZ, 'undefined');
module.exports = function (x) { return x * GGG - ZZZ }

View File

@@ -0,0 +1,7 @@
var through = require('through');
module.exports = function (file) {
return through(function (buf) {
this.queue(String(buf).replace(/GGG/g, '111'));
});
};

View File

@@ -0,0 +1,6 @@
{
"main": "index.js",
"browserify": {
"transform": "insert-ggg"
}
}

View File

@@ -0,0 +1,7 @@
var through = require('through');
module.exports = function (file) {
return through(function (buf) {
this.queue(String(buf).replace(/AAA/g, '5'));
});
};

View File

@@ -0,0 +1,7 @@
var through = require('through');
module.exports = function (file) {
return through(function (buf) {
this.queue(String(buf).replace(/BBB/g, '50'));
});
};

View File

@@ -0,0 +1,3 @@
var AAA = 200, BBB = 300;
module.exports = function (x) { return AAA + BBB + x }

View File

@@ -0,0 +1,7 @@
var through = require('through');
module.exports = function (file) {
return through(function (buf) {
this.queue(String(buf).replace(/XYZ/g, '909'));
});
};

5
node_modules/browserify/test/tr/package.json generated vendored Normal file
View File

@@ -0,0 +1,5 @@
{
"browserify": {
"transform": [ "xyz" ]
}
}

1
node_modules/browserify/test/tr/subdir/g.js generated vendored Normal file
View File

@@ -0,0 +1 @@
module.exports = XYZ + 90;