Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
mocha-play
Advanced tools
Run mocha tests in chromium, using webpack and playwright.
Install mocha-play
as a dev dependency:
npm i mocha-play --save-dev
mocha-play
expects mocha
, playwright
/playwright-chromium
, and webpack
to also be installed in the project.
A CLI named mocha-play
is available after installation:
mocha-play [options] <glob ...>
For example:
mocha-play "test/**/*.spec.js"
mocha-play "test/**/*.spec.ts" -c webpack.config.js
-v, --version output the version number
-c, --webpack-config <config file> webpack configuration file to bundle with
-w, --watch never-closed, open browser, open-devtools, html-reporter session
-l, --list-files list found test files
-t, --timeout <ms> mocha timeout in ms (default: 2000)
-p, --port <number> port to start the http server with (default: 3000)
--reporter <spec/html/dot/...> mocha reporter to use (default: "spec")
--ui <bdd|tdd|qunit|exports> mocha user interface (default: "bdd")
-h, --help display help for command
MIT
FAQs
Run mocha tests in chromium, using webpack and playwright.
The npm package mocha-play receives a total of 117 weekly downloads. As such, mocha-play popularity was classified as not popular.
We found that mocha-play demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.