Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

248 B
Raw Blame
"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"]);
  });
});