refactor(Cypress): add nodemodules

This commit is contained in:
2021-09-02 17:18:41 +02:00
parent 1aa57bbd0a
commit bc6e1bc12e
4238 changed files with 340975 additions and 8 deletions

15
node_modules/es5-ext/test/reg-exp/#/index.js generated vendored Normal file
View File

@@ -0,0 +1,15 @@
/* eslint-env node */
"use strict";
var indexTest = require("tad/lib/utils/index-test")
, path = require("path").resolve(__dirname, "../../../reg-exp/#");
module.exports = function (t, a, d) {
indexTest(
indexTest.readDir(path).aside(function (data) {
delete data.sticky;
delete data.unicode;
})
)(t, a, d);
};

13
node_modules/es5-ext/test/reg-exp/#/is-sticky.js generated vendored Normal file
View File

@@ -0,0 +1,13 @@
"use strict";
module.exports = function (t, a) {
var re;
a(t.call(/raz/), false, "Normal");
a(t.call(/raz/g), false, "Global");
try {
// eslint-disable-next-line no-invalid-regexp
re = new RegExp("raz", "y");
} catch (ignore) {}
if (!re) return;
a(t.call(re), true, "Sticky");
};

13
node_modules/es5-ext/test/reg-exp/#/is-unicode.js generated vendored Normal file
View File

@@ -0,0 +1,13 @@
"use strict";
module.exports = function (t, a) {
var re;
a(t.call(/raz/), false, "Normal");
a(t.call(/raz/g), false, "Global");
try {
// eslint-disable-next-line no-invalid-regexp
re = new RegExp("raz", "u");
} catch (ignore) {}
if (!re) return;
a(t.call(re), true, "Unicode");
};

View File

@@ -0,0 +1,5 @@
"use strict";
var isImplemented = require("../../../../reg-exp/#/match/is-implemented");
module.exports = function (a) { a(isImplemented(), true); };

3
node_modules/es5-ext/test/reg-exp/#/match/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
"use strict";
module.exports = require("./shim");

View File

@@ -0,0 +1,3 @@
"use strict";
module.exports = function (t, a) { a(typeof t(), "boolean"); };

6
node_modules/es5-ext/test/reg-exp/#/match/shim.js generated vendored Normal file
View File

@@ -0,0 +1,6 @@
"use strict";
module.exports = function (t, a) {
var result = "foobar".match(/foo/);
a.deep(t.call(/foo/, "foobar"), result);
};

View File

@@ -0,0 +1,5 @@
"use strict";
var isImplemented = require("../../../../reg-exp/#/replace/is-implemented");
module.exports = function (a) { a(isImplemented(), true); };

3
node_modules/es5-ext/test/reg-exp/#/replace/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
"use strict";
module.exports = require("./shim");

View File

@@ -0,0 +1,3 @@
"use strict";
module.exports = function (t, a) { a(typeof t(), "boolean"); };

3
node_modules/es5-ext/test/reg-exp/#/replace/shim.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
"use strict";
module.exports = function (t, a) { a(t.call(/foo/, "foobar", "mar"), "marbar"); };

View File

@@ -0,0 +1,5 @@
"use strict";
var isImplemented = require("../../../../reg-exp/#/search/is-implemented");
module.exports = function (a) { a(isImplemented(), true); };

3
node_modules/es5-ext/test/reg-exp/#/search/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
"use strict";
module.exports = require("./shim");

View File

@@ -0,0 +1,3 @@
"use strict";
module.exports = function (t, a) { a(typeof t(), "boolean"); };

3
node_modules/es5-ext/test/reg-exp/#/search/shim.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
"use strict";
module.exports = function (t, a) { a(t.call(/foo/, "barfoo"), 3); };

View File

@@ -0,0 +1,5 @@
"use strict";
var isImplemented = require("../../../../reg-exp/#/split/is-implemented");
module.exports = function (a) { a(isImplemented(), true); };

3
node_modules/es5-ext/test/reg-exp/#/split/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
"use strict";
module.exports = require("./shim");

View File

@@ -0,0 +1,3 @@
"use strict";
module.exports = function (t, a) { a(typeof t(), "boolean"); };

3
node_modules/es5-ext/test/reg-exp/#/split/shim.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
"use strict";
module.exports = function (t, a) { a.deep(t.call(/\|/, "bar|foo"), ["bar", "foo"]); };

View File

@@ -0,0 +1,5 @@
"use strict";
var isImplemented = require("../../../../reg-exp/#/sticky/is-implemented");
module.exports = function (a) { a(isImplemented(), true); };

View File

@@ -0,0 +1,3 @@
"use strict";
module.exports = function (t, a) { a(typeof t(), "boolean"); };

View File

@@ -0,0 +1,5 @@
"use strict";
var isImplemented = require("../../../../reg-exp/#/unicode/is-implemented");
module.exports = function (a) { a(isImplemented(), true); };

View File

@@ -0,0 +1,3 @@
"use strict";
module.exports = function (t, a) { a(typeof t(), "boolean"); };