Unit testing
Use the mocha package to formulate tests under your unit-testing source path.
import { describe, it } from "mocha";
//
describe("sum", () => {
//
describe("nested", () => {
//
it("should yield 2", () => {
assert.equal(1 + 1, 2);
});
});
});