lodash keys methods

import assert from "assert"; import lodashStable from "lodash"; import { _, arrayProto, args, strictArgs, objectProto, stringProto, primitives, numberProto, stubArray, } from "./utils.js"; describe("keys methods", function() { lodas

lodash matches

import assert from "assert"; import lodashStable from "lodash"; import matches from "../matches.js"; describe("matches", function() { it("should not change behavior if `source` is modified", function() { var sources = [ { "a": { "b": 2, "c":

lodash memoize.test

import assert from "assert"; import lodashStable from "lodash"; import { noop, stubTrue, identity } from "./utils.js"; import memoize from "../memoize.js"; import isFunction from "../isFunction.js"; describe("memoize", function() { function CustomCach

lodash union methods

import assert from "assert"; import lodashStable from "lodash"; import { _, args } from "./utils.js"; describe("union methods", function() { lodashStable.each(["union", "unionBy", "unionWith"], function(methodName) { var func = _[methodName];

lodash min

import assert from "assert"; import lodashStable from "lodash"; import { falsey, noop } from "./utils.js"; import min from "../min.js"; describe("min", function() { it("should return the smallest value from a collection", function() { assert.stric

lodash add.test

import assert from "assert"; import add from "../add.js"; describe("add", function() { it("should add two numbers", function() { assert.strictEqual(add(6, 4), 10); assert.strictEqual(add(-6, 4), -2); assert.strictEqual(add(-6, -4), -10);

lodash xorBy

import assert from "assert"; import { slice } from "./utils.js"; import xorBy from "../xorBy.js"; describe("xorBy", function() { it("should accept an `iteratee`", function() { var actual = xorBy([2.1, 1.2], [2.3, 3.4], Math.floor); assert.deep

lodash isFinite

import assert from "assert"; import lodashStable from "lodash"; import { stubTrue, stubFalse, args, symbol } from "./utils.js"; import isFinite from "../isFinite.js"; describe("isFinite", function() { it("should return `true` for finite values", funct

lodash matches methods

import assert from "assert"; import lodashStable from "lodash"; import { _, stubTrue, noop, numberProto, stubFalse, empties } from "./utils.js"; import isMatch from "../isMatch.js"; describe("matches methods", function() { lodashStable.each(["matches"

lodash transform

import assert from "assert"; import lodashStable from "lodash"; import { stubTrue, square, typedArrays, noop, stubObject, stubFalse, falsey, slice, realm, } from "./utils.js"; import transform from "../transform.js"; describe("transf