☕️ Classic, reliable, trusted test framework for Node.js and the browser
import "./fixtures/esm.fixture.js"; it("should register a global if it did not fail", function () { expect(window.MOCHA_IS_OK, "to be ok"); }); it("should has global Mocha", function () { expect(window.Mocha, "not to be", undefined); });