js-devtools

js-devtools/karma-host-environment

Access host info (OS, browser version, environment variables) in browser tests

JavaScript
6
1
MIT License

Karma Host Environment is a Karma plug‑in that extends the **@jsdevtools/host‑environment** library for test suites run with the Karma test runner. It provides a unified `host` object inside browser tests that not only detects the client browser and OS but also exposes the Karma server’s OS, Node version, and environment variables (via `host.karma` and `host.env`), letting developers write tests that adapt to both the test browser and the host machine. The package is aimed at JavaScript developers who use Karma for cross‑environment unit or integration testing.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of js-devtools/karma-host-environment

Account's avatar
Easily detect what host environment your code is running in
Account's avatar
Temporary files and directories
Account's avatar
Opinionated JSDevTools ESLint config for JavaScript, TypeScript, and JSX
Account's avatar
Karma configuration builder with sensible defaults to minimize boilerplate
Account's avatar
Automatically (or with prompts) bump your version number, commit changes, tag, and push to Git
Account's avatar
TypeScript definitions for karma
Account's avatar
TypeScript definitions for node
Account's avatar
TypeScript definitions for temp
Account's avatar
BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
Account's avatar
Spectacular Test Runner for JavaScript.
Account's avatar
The Karma command line interface.
Account's avatar
simple, flexible, fun test framework
Account's avatar
Check for outdated, incorrect, and unused dependencies.
Account's avatar
the Istanbul command line interface
Account's avatar
Portable Shell Commands for Node
Account's avatar
TypeScript is a language for application scale JavaScript development

Support the repos that depend on this repository

Top contributors

JamesMessinger's profile
JamesMessinger
123 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet