@plugjs/expect5
Version:
Unit Testing for the PlugJS Build System ========================================
67 lines (65 loc) • 2.4 kB
JavaScript
;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// index.ts
var index_exports = {};
__export(index_exports, {
afterAll: () => import_setup.afterAll,
afterEach: () => import_setup.afterEach,
beforeAll: () => import_setup.beforeAll,
beforeEach: () => import_setup.beforeEach,
describe: () => import_setup.describe,
fdescribe: () => import_setup.fdescribe,
fit: () => import_setup.fit,
it: () => import_setup.it,
skip: () => import_executable.skip,
xafterAll: () => import_setup.xafterAll,
xafterEach: () => import_setup.xafterEach,
xbeforeAll: () => import_setup.xbeforeAll,
xbeforeEach: () => import_setup.xbeforeEach,
xdescribe: () => import_setup.xdescribe,
xit: () => import_setup.xit
});
module.exports = __toCommonJS(index_exports);
var import_fork = require("@plugjs/plug/fork");
var import_paths = require("@plugjs/plug/paths");
var import_executable = require("./execution/executable.cjs");
var import_setup = require("./execution/setup.cjs");
__reExport(index_exports, require("./expectation/expect.cjs"), module.exports);
(0, import_fork.installForking)("test", (0, import_paths.requireResolve)(__filename, "./test"), "Test");
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
afterAll,
afterEach,
beforeAll,
beforeEach,
describe,
fdescribe,
fit,
it,
skip,
xafterAll,
xafterEach,
xbeforeAll,
xbeforeEach,
xdescribe,
xit,
...require("./expectation/expect.cjs")
});
//# sourceMappingURL=index.cjs.map