☕️ Classic, reliable, trusted test framework for Node.js and the browser
"use strict"; var { expect } = require("chai"); var calls = []; before(function () { calls.push("before"); }); describe("root", function () { it("should be a valid suite", function () { expect(calls).to.deep.equal(["before"]); }); });