refactor(Cypress): add nodemodules
This commit is contained in:
13
node_modules/es5-ext/test/reg-exp/#/is-sticky.js
generated
vendored
Normal file
13
node_modules/es5-ext/test/reg-exp/#/is-sticky.js
generated
vendored
Normal 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");
|
||||
};
|
Reference in New Issue
Block a user