UNPKG

@nknahom/lotide

Version:

Lotide is mini clone of the Lodash (https://lodash.com) library for learning JavaScript. What is Lodash? Lodash is a library that makes JavaScript easier by taking the hassle out of working with arrays, numbers, objects, strings, etc.

11 lines (9 loc) 308 B
const assert = require("chai").assert; const eqObjects = require("../eqObjects"); describe("#eqObjects", () => { it("should return true for compare two equal objects", () => { const ab = { a: "1", b: "2" }; const ba = { b: "2", a: "1" }; assert.strictEqual(eqObjects(ab, ba), true); }); });