Skip to content

equal

This is the equal

Lorem ipsum dolor sit amet consectetur adipisicing elit. Officiis, repellat consectetur? Iure debitis odit, commodi voluptatem similique placeat pariatur veniam officia totam, in doloremque unde aliquid earum rerum, quo ipsum.

mocha

describe("Equal Test", function () {
  it("should compare values correctly", function () {
    const a = 5;
    const b = 5;
    expect(a).to.equal(b);
  });
});

karma

describe("Equal Test", function () {
  it("should compare values correctly", function () {
    var a = 5;
    var b = 5;
    expect(a).to.equal(b);
  });
});

expect

describe("Equal Test", () => {
  it("should compare values correctly", () => {
    const a = 5;
    const b = 5;
    expect(a).toEqual(b);
  });
});

chai

describe("Equal Test", function () {
  it("should compare values correctly", function () {
    const a = 5;
    const b = 5;
    expect(a).to.equal(b);
  });
});