Test Automation
Polly.js: Record and Replay HTTP in JavaScript Tests
JavaScript tests that make real HTTP requests are slow and unreliable. Manual mocks for fetch or axios require constant maintenance as APIs evolve. Polly.js solves both problems by recording real HTTP interactions and replaying them in subsequent test runs — giving you test speed and isolation without sacrificing the accuracy