UNPKG

@jsenv/cli

Version:

Command Line Interface for jsenv

24 lines (21 loc) 532 B
/* * Execute all test files * - npm test * - npm test:coverage * Read more in https://github.com/jsenv/core/tree/main/packages/test#jsenvtest- */ import { executeTestPlan, nodeWorkerThread } from "@jsenv/test"; await executeTestPlan({ rootDirectoryUrl: import.meta.resolve("../"), testPlan: { "./tests/**/*.test.mjs": { node: { runtime: nodeWorkerThread(), }, }, }, coverage: process.argv.includes("--coverage") ? { methodForNodeJs: "Profiler" } : false, githubCheck: false, });