Security News
vlt Debuts New JavaScript Package Manager and Serverless Registry at NodeConf EU
vlt introduced its new package manager and a serverless registry this week, innovating in a space where npm has stagnated.
@web/test-runner
Advanced tools
Test runner for web applications.
👉 Headless browsers with Puppeteer, Playwright, or Selenium.
🚧 Reports logs, 404s, and errors from the browser.
🔍 Debug opens a real browser window with devtools.
📦 Mock es modules using Import Maps.
🔧 Exposes browser properties like viewport size and dark mode.
⏱ Runs tests in parallel and isolation.
👀 Interactive watch mode.
🏃 Fast development by rerunning only changed tests.
🚀 Powered by esbuild and rollup plugins
See our website for full documentation.
Install the web test runner:
npm i --save-dev @web/test-runner
Do a single test run:
web-test-runner test/**/*.test.js --node-resolve
wtr test/**/*.test.js --node-resolve
Run in watch mode, reloading on file changes:
web-test-runner test/**/*.test.js --node-resolve --watch
wtr test/**/*.test.js --node-resolve --watch
Run with code coverage profiling (this is slower):
web-test-runner test/**/*.test.js --node-resolve --coverage
wtr test/**/*.test.js --node-resolve --coverage
Transform JS to a compatible syntax based on user agent:
web-test-runner test/**/*.test.js --node-resolve --esbuild-target auto
wtr test/**/*.test.js --node-resolve --esbuild-target auto
Check out this step by step guide to get started.
Check out the example projects for a fully integrated setup.
See our website for full documentation.
FAQs
Test runner for web applications
We found that @web/test-runner demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 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
vlt introduced its new package manager and a serverless registry this week, innovating in a space where npm has stagnated.
Security News
Research
The Socket Research Team uncovered a malicious Python package typosquatting the popular 'fabric' SSH library, silently exfiltrating AWS credentials from unsuspecting developers.
Security News
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.