lodash forEachRight.test

import assert from "assert";
import eachRight from "../eachRight.js";
import forEachRight from "../forEachRight.js";

describe("forEachRight", function() {
  it("should be aliased", function() {
    assert.strictEqual(eachRight, forEachRight);
  });
});

Related articles

lodash mapKeys and mapValues

import assert from "assert"; import lodashStable from "lodash"; import { _, falsey, stubObject, noop } from "./utils.js"; describe("mapKeys and mapValues", function() { lodashStable.each(["mapKeys", "mapValues"], function(methodName) { var func =

lodash invokeMap

import assert from "assert"; import lodashStable from "lodash"; import { slice, stubOne } from "./utils.js"; import invokeMap from "../invokeMap.js"; describe("invokeMap", function() { it("should invoke a methods on each element of `collection`", func

lodash lodash(...).shift

import assert from "assert"; import lodashStable from "lodash"; import { falsey, stubTrue } from "./utils.js"; describe("lodash(...).shift", function() { it("should remove elements from the front of `array`", function() { var array = [1, 2],

lodash groupBy

import assert from "assert"; import lodashStable from "lodash"; import { LARGE_ARRAY_SIZE } from "./utils.js"; import groupBy from "../groupBy.js"; describe("groupBy", function() { var array = [6.1, 4.2, 6.3]; it("should transform keys by `iteratee

lodash compact

import assert from "assert"; import lodashStable from "lodash"; import { LARGE_ARRAY_SIZE, _, falsey } from "./utils.js"; import compact from "../compact.js"; import slice from "../slice.js"; describe("compact", function() { var largeArray = lodashSta

lodash ary

import assert from "assert"; import lodashStable from "lodash"; import { slice, _ } from "./utils.js"; import ary from "../ary.js"; import curry from "../curry.js"; import rearg from "../rearg.js"; describe("ary", function() { function fn(a, b, c) {

lodash padStart

import assert from "assert"; import lodashStable from "lodash"; import { stubTrue } from "./utils.js"; import padStart from "../padStart.js"; describe("padStart", function() { var string = "abc"; it("should pad a string to a given length", function

lodash dropRightWhile

import assert from "assert"; import { slice } from "./utils.js"; import dropRightWhile from "../dropRightWhile.js"; describe("dropRightWhile", function() { var array = [1, 2, 3, 4]; var objects = [ { "a": 0, "b": 0 }, { "a": 1, "b": 1 },

lodash method

import assert from "assert"; import lodashStable from "lodash"; import { stubOne, _, stubTwo, stubThree, stubFour, noop, slice } from "./utils.js"; import constant from "../constant.js"; describe("method", function() { it("should create a function tha

lodash debounce

import assert from "assert";import { identity, argv, isPhantom, push } from "./utils.js";import debounce from "../debounce.js";describe("debounce", function() { it("should debounce a function", function(done) { var callCount = 0; var debou