Debian Codegraph @

test/smoke/smoke.spec.js

raw
1 "use strict";
2
3 // This test ensures Mocha's dependencies are properly in place,
4 // and is intended to be run after an `npm install --production` in a clean
5 // working copy. It helps avoid publishing Mocha with `dependencies`
6 // in `devDependencies` or otherwise in the wrong place.
7 // It does not ensure that all files are present in the published package!
8
9 var assert = require("node:assert");
10
11 describe("a production installation of Mocha", function () {
12 it("should be able to execute a test", function () {
13 assert.ok(true);
14 });
15 });