Array Library Tests
|
Array |
test: .sortBy(source, propList)
|
Array#sortBy |
test: .groupByProp(arr, groupVal)
|
Array#groupByProp |
test: .groupByFn(arr, groupFn)
|
Array#groupByFn |
test: .groupByPath(arr, groupPath)
|
Array#groupByPath |
test: .groupBy(...args)
|
Array#groupBy |
test: .cloneArray(arrayToClone)
|
Array#cloneArray |
test: .without(source, item)
|
Array#without |
test: .compact(source)
|
Array#compact |
test: .shuffle(arrToShuffle)
|
Array#shuffle |
test: .reject(source, fn)
|
Array#reject |
test: .filter(source, fn)
|
Array#filter |
test: .take(array, numberOfLastElements = 1)
|
Array#take |
test: .takeRight(array, numberOfLastElements = 1)
|
Array#takeRight |
test: .takeWhile(array = [], whileFn)
|
Array#takeWhile |
test: .takeRightWhile(array = [], rightWhileFn)
|
Array#takeRightWhile |
test: .pluck(array = [], propName)
|
Array#pluck |
test: .fill(value, number)
|
Array#fill |
test: .fillRight(value, number, arr)
|
Array#fillRight |
test: .fillLeft(value, number, arr)
|
Array#fillLeft |
test: .times(iterationNumber, fn)
|
Array#times |
test: .every(source = [], fn)
|
Array#every |
test: .flatten(arrayToConcat)
|
Array#flatten |
test: .zipWithProjection()
|
Array#zipWithProjection |
test: .map(arrayToMap, fn)
|
Array#map |
test: .zip(...arrayToZip)
|
Array#zip |
test: .some(source = [], fn)
|
Array#some |
test: .any(source = [], fn)
|
Array#any |
test: .sample(source)
|
Array#sample |
test: .find(source, fn)
|
Array#find |
test: .first(array = [])
|
Array#first |
test: .head(array = [])
|
Array#head |
test: .last(array = [])
|
Array#last |
test: .tail(array = [])
|
Array#tail |
test: .nth(source, index)
|
Array#nth |
test: .castArray(...valueToCast)
|
Array#castArray |
test: .changeOrder(argsArray, order)
|
Array#changeOrder |
test: .numAndStrComparator(first, second, prop)
|
Array#numAndStrComparator |
uniq(source)
|
Array#uniq |
Context Library Tests
|
Context |
test: .using(ctx)
|
Context#using |
test: .using(ctx) with class
|
Context#using |
test: .invoke(ctx)
|
Context#invoke |
test: .invoke(ctx) with class
|
Context#invoke |
test: .invokeWithCtx(ctx, ...fns)
|
Context#invokeWithCtx |
test: .invokeWithCtx(ctx, ...fns) with class
|
Context#invokeWithCtx |
test: using(ctx) invoke(...fns) with .wrap(fn, ...args)
|
Context#invoke |
test: using(ctx) invoke(...fns) with .wrap(fn, ...args) with class
|
Context#invoke |
SafeTupleBuilder Tests
|
SafeTupleBuilder |
test: .of(...args)
|
SafeTupleBuilder#of |
Tuple Tests
|
Tuple |
test: .getAll()
|
Tuple#getAll |
test: .unpack()
|
Tuple#unpack |
test: .get(index)
|
Tuple#get |
Fantasy Land Library Tests
|
Fantasy-Land |
test: Functor
|
Fantasy-Land#Functor |
test: Apply
|
Fantasy-Land#Apply |
test: Applicative
|
* |
test: Monad
|
Fantasy-Land#Monad |
test: LazyFunctor
|
Fantasy-Land#LazyFunctor |
test: Maybe
|
Fantasy-Land#Maybe |
test: Maybe.fromNullable
|
Fantasy-Land#Maybe#fromNullable |
test: Maybe.of
|
Fantasy-Land#Maybe#of |
test: Maybe.just
|
Fantasy-Land#Maybe#just |
test: Maybe.nothing
|
Fantasy-Land#Maybe#nothing |
test: Maybe.Just/Maybe.Nothing#map(f)
|
Fantasy-Land#Maybe#map |
test: Maybe.Just/Maybe.Nothing#getValue()
|
Fantasy-Land#Maybe#getValue |
test: Maybe.Just/Maybe.Nothing#get()
|
Fantasy-Land#Maybe#get |
test: Maybe.Just/Maybe.Nothing#getOrElse()
|
Fantasy-Land#Maybe#getOrElse |
test: Maybe.Just/Maybe.Nothing#chain()
|
Fantasy-Land#Maybe#chain |
test: Maybe.Just/Maybe.Nothing#filter()
|
Fantasy-Land#Maybe#filter |
test: Either
|
Fantasy-Land#Either |
test: Either.fromNullable
|
Fantasy-Land#Maybe#fromNullable |
test: Either.of
|
Fantasy-Land#Either#of |
test: Either.tryCatch with falsy value
|
Fantasy-Land#Either#tryCatch |
test: Either.tryCatch with truthy value
|
Fantasy-Land#Either#tryCatch |
test: double Either.tryCatch
|
Fantasy-Land#Either#tryCatch |
test: Either.right
|
Fantasy-Land#Either#right |
test: Either.left
|
Fantasy-Land#Either#left |
test: Either.Right/Either.Left#map(f)
|
Fantasy-Land#Either#map |
test: Either.Right/Either.Left#getValue()
|
Fantasy-Land#Either#getValue |
test: Either.Right/Either.Left#get()
|
Fantasy-Land#Either#get |
test: Either.Right/Either.Left#getOrElse()
|
Fantasy-Land#Either#getOrElse |
test: Either.Right/Either.Left#chain()
|
Fantasy-Land#Either#chain |
test: Either.Right/Either.Left#filter()
|
Fantasy-Land#Either#filter |
test: Either.Rigth/Either.Left#getOrElseThrow(err)
|
Fantasy-Land#Either#getOrElseThrow |
test: Either.Rigth/Either.Left#orElse(f)
|
Fantasy-Land#Either#orElse |
test: Setoid
|
- |
test: .toSetoid(eqFn) with positive case
|
- |
test: .toSetoid(eqFn) with negative case
|
- |
test: .isSetoid(obj)
|
- |
Function Combinators Library Tests
|
Function-Combinators |
test: .identity(value) (I combinator)
|
Function-Combinators#identity |
test: .always(value)
|
Function-Combinators#always |
test: .flip(fn)
|
Function-Combinators#flip |
test: .thrush(x)
|
Function-Combinators#thrush |
test: .duplication(fn)
|
Function-Combinators#duplication |
test: .fork(join, fn1, fn2)
|
Function-Combinators#fork |
test: .seq(...fns)
|
Function-Combinators#seq |
test: .alt(fn1, fn2)
|
Function-Combinators#alt |
test: .tap(fn)
|
Function-Combinators#tap |
Function Library Tests
|
Function |
test: .curry(fn)
|
Function#curry |
test: .partial(fn)
|
Function#partial |
test: .compose(...fns)
|
Function#compose |
test: .pipe(...fns)
|
Function#pipe |
test: .once(fn)
|
Function#once |
test: .unary(fn)
|
Function#unary |
test: .memoize(fn)
|
Function#memoize |
test: .rearg(fn, order)
|
Function#rearg |
test: .after(count, fn)
|
Function#after |
test: .orCurry(fn, args)
|
Function#orCurry |
Lens Library Tests
|
Lens |
test: prop(propName, source)
|
Lens#prop |
test: prop(propName, source) with inner object
|
Lens#prop |
test: prop(propName, source) with wrong first argument
|
Lens#prop |
test: prop(propName, source) with wrong second argument
|
Lens#prop |
test: prop(propName, source) with undefined first argument
|
Lens#prop |
test: prop(propName, source) with undefined second argument
|
Lens#prop |
test: lensIndex(index, source)
|
Lens#lensIndex |
test: lensIndex(index, source) with inner object
|
Lens#lensIndex |
test: lensIndex(index, source) with wrong first argument
|
Lens#lensIndex |
test: lensIndex(index, source) with wrong second argument
|
Lens#lensIndex |
test: lensIndex(index, source) with undefined first argument
|
Lens#lensIndex |
test: lensIndex(index, source) with undefined second argument
|
Lens#lensIndex |
test: lensProp(propName)
|
Lens#lensProp |
test: lensProp(propName) with wrong first argument
|
Lens#lensProp |
test: lensProp(propName) with wrong second argument
|
Lens#lensProp |
test: lensProp(propName) with undefined first argument
|
Lens#lensProp |
test: lensProp(propName) with undefined first argument
|
Lens#lensProp |
test: assoc(propName, valueToBeSet, source)
|
Lens#assoc |
test: assoc(propName, valueToBeSet, source) with inner object
|
Lens#assoc |
test: assoc(propName, valueToBeSet, source) with wrong first argument
|
Lens#assoc |
test: assoc(propName, valueToBeSet, source) with wrong third argument
|
Lens#assoc |
test: assoc(propName, valueToBeSet, source) with undefined first argument
|
Lens#assoc |
test: assoc(propName, valueToBeSet, source) with undefined third argument
|
Lens#assoc |
test: assocPath(path, valueToBeSet, source)
|
Lens#assocPath |
test: assocPath(path, valueToBeSet, source) with array
|
Lens#assocPath |
test: assocPath(path, valueToBeSet, source) should not override old props
|
Lens#assocPath |
test: path(p, source)
|
Lens#path |
test: pathEq(path, source, value)
|
Lens#pathEq |
test: pathOr(path, source, orValue)
|
Lens#pathOr |
test: pathSatisfies(path, source, satisfyFn)
|
Lens#pathSatisfies |
Math Library Tests
|
Math |
test: .compareDecimalNumbers(number1, number2)
|
Math#compareDecimalNumbers |
test: .add(augend, ...addendList)
|
Math#add |
test: .subtract(minuend, ...subtrahendList)
|
Math#subtract |
test: .multiply(multiplier, ...multiplicandList)
|
Math#multiply |
test: .divide(dividend, ...divisorList)
|
Math#divide |
test: .getRandomInt(number)
|
Math#getRandomInt |
test: .getRandomIntFromTo(number1, number2)
|
Math#getRandomIntFromTo |
Object Library Tests
|
Object |
test: .deepFreeze(obj)
|
Object#deepFreeze |
test: .cloneObject(objectToClone)
|
Object#cloneObject |
test: .deepClone(objectToDeepClone)
|
Object#deepClone |
test: .pick(source, ...pickArray)
|
Object#pick |
test: .omit(source, ...omitArray)
|
Object#omit |
test: .safeGet(obj, ...props)
|
Object#safeGet |
test: .safeGetOr(obj, orValue, ...props)
|
Object#safeGetOr |
test: .safeGet(obj, ...props) with array
|
Object#safeGet |
test: .safeGetOr(obj, orValue, ...props) with array
|
Object#safeGetOr |
test: .getWithProps(obj, ...props)
|
Object#getWithProps |
test: .getWithCtx(obj, ...props)
|
Object#getWithCtx |
test: .objectProjection(obj, cb, skipCb = (...args) => args)
|
Object#objectProjection |
test: conformsTo(object, predicateSetModel)
|
Object#conformsTo |
deepEquals(first, second)
|
* |
Predicate Combinator Library Tests
|
Predicate-Combinator |
test: .or(...predicates) - with number
|
Predicate-Combinator#or |
test: .or(...predicates) - with array
|
Predicate-Combinator#or |
test: .not(...predicates) - with number
|
Predicate-Combinator#not |
test: .not(...predicates) - with array
|
Predicate-Combinator#not |
test: .and(...predicates) - with string
|
Predicate-Combinator#and |
test: .and(...predicates) - with array
|
Predicate-Combinator#and |
test: .notOr(...predicates)
|
Predicate-Combinator#notOr |
Predicate Library Tests
|
Predicate |
test: .lt(number)
|
Predicate#lt |
test: .gt(number)
|
Predicate#gt |
test: .range(number1, number2)
|
Predicate#range |
test: .lte(number)
|
Predicate#lte |
test: .gte(number)
|
Predicate#gte |
test: .rangeEqual(number1, number2)
|
Predicate#rangeEqual |
test: .lt(number) combined with gt(number)
|
Predicate#lte |
test: .eq(elem1)
|
Predicate#eq |
test: .notEq(elem1)
|
Predicate#notEq |
String Library Tests
|
String |
test: .buildResource(src, ...args)
|
String#buildResource |
test: .replaceAll(replaceable, from, to)
|
String#replaceAll |
test: .replaceAllDifferences(replaceable, fromList, to)
|
String#replaceAllDifferences |
test: .includes(source, includement)
|
String#includes |
test: .trim(strSource)
|
String#trim |
test: .equalsIgnoreCase(str1, str2)
|
String#equalsIgnoreCase |
test: .upperFirst(str = "")
|
String#upperFirst |
test: .getFirstUpperLetter(strValue)
|
String#getFirstUpperLetter |
test: .getLastUpperLetter(strValue)
|
String#getLastUpperLetter |
test: .getFirstLowerLetter(strValue)
|
String#getFirstLowerLetter |
test: .getLastLowerLetter(strValue)
|
String#getFirstLowerLetter |
test: .words(strValue)
|
String#words |
test: .snakeCase(str)
|
String#snakeCase |
test: .kebabCase(str)
|
String#kebabCase |
test: .camelCase(str)
|
String#camelCase |
Type Library Tests
|
Type |
test: .isNull(value)
|
Type#isNull |
test: .isNotNull(value)
|
Type#isNotNull |
test: .isNaN(number)
|
Type#isNaN |
test: .isNotNaN(number)
|
Type#isNotNaN |
test: .isNegativeZero(number)
|
Type#isNegativeZero |
test: .isNotNegativeZero(number)
|
Type#isNotNegativeZero |
test: .isArray(value)
|
Type#isArray |
test: .isNotArray(value)
|
Type#isNotArray |
test: .isNumber(value)
|
Type#isNumber |
test: .isNotNumber(value)
|
Type#isNotNumber |
test: .isUndefined(value)
|
Type#isUndefined |
test: .isNotUndefined(value)
|
Type#isNotUndefined |
test: .isDate(value)
|
Type#isDate |
test: .isNotDate(value)
|
Type#isNotDate |
test: .isObject(value)
|
Type#isObject |
test: .isNotObject(value)
|
Type#isNotObject |
test: .isBoolean(value)
|
Type#isBoolean |
test: .isNotBoolean(value)
|
Type#isNotBoolean |
test: .isSymbol(value)
|
Type#isSymbol |
test: .isNotSymbol(value)
|
Type#isNotSymbol |
test: .isString(value)
|
Type#isString |
test: .isNotString(value)
|
Type#isNotString |
test: .isRegExp(value)
|
Type#isRegExp |
test: .isNotRegExp(value)
|
Type#isNotRegExp |
test: .isFunction(value)
|
Type#isFunction |
test: .isNotFunction(value)
|
Type#isNotFunction |
test: .isPrimitive(value)
|
Type#isPrimitive |
test: .isNotPrimitive(value)
|
Type#isNotPrimitive |
test: .getType(value)
|
Type#getType |
test: .toBe(expectation)
|
Type#toBe |
test: .notToBe(expectation)
|
Type#notToBe |
test: .getTypeByClass(clazz)
|
Type#getTypeByClass |
test .typeCheck(clazz, actualType) positive
|
Type#typeCheck |
test .typeCheck(clazz, actualType) negative
|
Type#typeCheck |