refactor(Cypress): add nodemodules
This commit is contained in:
5
node_modules/es5-ext/test/math/acosh/implement.js
generated
vendored
Normal file
5
node_modules/es5-ext/test/math/acosh/implement.js
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
|
||||
var isImplemented = require("../../../math/acosh/is-implemented");
|
||||
|
||||
module.exports = function (a) { a(isImplemented(), true); };
|
3
node_modules/es5-ext/test/math/acosh/index.js
generated
vendored
Normal file
3
node_modules/es5-ext/test/math/acosh/index.js
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = require("./shim");
|
3
node_modules/es5-ext/test/math/acosh/is-implemented.js
generated
vendored
Normal file
3
node_modules/es5-ext/test/math/acosh/is-implemented.js
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = function (t, a) { a(typeof t(), "boolean"); };
|
11
node_modules/es5-ext/test/math/acosh/shim.js
generated
vendored
Normal file
11
node_modules/es5-ext/test/math/acosh/shim.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = function (t, a) {
|
||||
a(t({}), NaN, "NaN");
|
||||
a(t(-1), NaN, "Negative");
|
||||
a(t(0), NaN, "Zero");
|
||||
a(t(0.5), NaN, "Below 1");
|
||||
a(t(1), 0, "1");
|
||||
a(t(2), 1.3169578969248166, "Other");
|
||||
a(t(Infinity), Infinity, "Infinity");
|
||||
};
|
Reference in New Issue
Block a user