Test Automation
Writing and Testing Custom Vite Plugins: Transforms, HMR, and Virtual Modules
Vite plugins extend the build pipeline with custom transforms, virtual modules, and build hooks.
In-depth tutorials and comparisons for testing tools and frameworks — Playwright, Cypress, Selenium, Robot Framework, and more.
Test Automation
Vite plugins extend the build pipeline with custom transforms, virtual modules, and build hooks.
Test Automation
H3 is the HTTP framework that powers Nitro, which in turn powers Nuxt 3's server engine.
Test Automation
Cloudflare Workers run in V8 isolates, not Node.js. That difference means standard testing approaches break: node:fs, node:http, and most Node.js built-ins are unavailable. Miniflare solves this by implementing the Workers runtime APIs locally — KV, R2, D1, Durable Objects, Queues — so your tests run in an
Test Automation
Biome is a high-performance JavaScript and TypeScript toolchain that replaces ESLint, Prettier, and several other tools with a single binary.
Test Automation
Valtio creates proxy state that you mutate directly. Its simplicity is also what makes testing it slightly unconventional — there's no dispatch, no reducers, and the proxy itself is mutable. The keys are using snapshot() for immutable assertions and subscribe() for testing reactive behaviour. Setup npm install valtio npm
Test Automation
MobX uses observable state, computed values, and reactions to build reactive systems.
Test Automation
Legend State is a high-performance state library built on a signals-based observable system.
Test Automation
Zustand is a small, fast state management library with a minimal API. Its stores are plain JavaScript objects with actions — which makes them straightforward to test. The main challenges are resetting state between tests, testing middleware like persist and immer, and testing stores integrated with React components. Setup npm install
Test Automation
XState v5 models application behavior as explicit state machines. Every state transition is predictable, every guard condition is explicit, and every side effect is an actor. This makes XState code highly testable — if you follow the right patterns. This guide covers testing XState v5 machines: transition testing, guard testing, actor
Test Automation
Jotai is a primitive, flexible state management library built on atoms.
Test Automation
TanStack Router is a fully type-safe router for React with built-in route loaders, search parameter validation, and nested layouts.
Test Automation
TanStack Query v5 handles server state — fetching, caching, synchronizing, and updating data from your API.