Unit Test

A small automated check of one focused unit of behavior.

What is Unit Test in JavaScript?

Unit Test — A small automated check of one focused unit of behavior.

test("totals an order", () => {
    expect(total(3, 4)).toBe(12);
});

Level: Freelancer · More JavaScript terms at this level

Updated

In other subjects