UNPKG

@jsenv/cli

Version:

Command Line Interface for jsenv

29 lines (26 loc) 641 B
/* * Execute all test files * Read more in https://github.com/jsenv/core */ import { executeTestPlan, chromium, nodeWorkerThread } from "@jsenv/test"; await executeTestPlan({ rootDirectoryUrl: import.meta.resolve("../"), testPlan: { "./**/*.test.html": { chromium: { runtime: chromium(), }, }, "./**/*.test.mjs": { node: { runtime: nodeWorkerThread(), }, }, }, webServer: { origin: "http://localhost:3400", rootDirectoryUrl: import.meta.resolve("../src/"), moduleUrl: import.meta.resolve("./dev.mjs"), }, coverage: process.argv.includes("--coverage"), });