Test Automation
GrowthBook Testing: Feature Flags and A/B Experiments in Jest and Vitest
GrowthBook is an open-source feature flagging and A/B testing platform. Its JavaScript SDK is designed to be testable: it accepts forced variations and feature overrides, making unit and integration tests straightforward. SDK Setup npm install @growthbook/growthbook # React npm install @growthbook/growthbook-react Copy Basic Usage // lib/growthbook.js import