refactor(Cypress): Moved Cypress to the main folder of the project, as I don't need a sub project for now.

This commit is contained in:
2021-09-02 16:22:25 +02:00
parent d9226abf85
commit 89ec2d42ac
8402 changed files with 22 additions and 5 deletions

38
node_modules/ramda/es/andThen.js generated vendored Normal file
View File

@@ -0,0 +1,38 @@
import _curry2 from "./internal/_curry2.js";
import _assertPromise from "./internal/_assertPromise.js";
/**
* Returns the result of applying the onSuccess function to the value inside
* a successfully resolved promise. This is useful for working with promises
* inside function compositions.
*
* @func
* @memberOf R
* @since v0.27.1
* @category Function
* @sig (a -> b) -> (Promise e a) -> (Promise e b)
* @sig (a -> (Promise e b)) -> (Promise e a) -> (Promise e b)
* @param {Function} onSuccess The function to apply. Can return a value or a promise of a value.
* @param {Promise} p
* @return {Promise} The result of calling `p.then(onSuccess)`
* @see R.otherwise
* @example
*
* var makeQuery = (email) => ({ query: { email }});
*
* //getMemberName :: String -> Promise ({firstName, lastName})
* var getMemberName = R.pipe(
* makeQuery,
* fetchMember,
* R.andThen(R.pick(['firstName', 'lastName']))
* );
*/
var andThen =
/*#__PURE__*/
_curry2(function andThen(f, p) {
_assertPromise('andThen', p);
return p.then(f);
});
export default andThen;