@cloudflare/vitest-pool-workers@0.14.0
📦 cloudflare-workersView on GitHub →
✨ 1 features🐛 3 fixes🔧 2 symbols
Summary
This release introduces a testing utility to skip retry delays in Workflows and improves compatibility with alternative testing setups like Vite+. Several minor bug fixes address noise in test logs and improve runtime compatibility date handling.
Migration Steps
- If you are testing Workflows with retry configurations, consider using `disableRetryDelays()` on `WorkflowInstanceModifier` to speed up tests by eliminating wall-clock waiting between retries.
✨ New Features
- Added `disableRetryDelays()` method to `WorkflowInstanceModifier` to skip retry backoff delays during testing of Workflows.
🐛 Bug Fixes
- The RTTI compat date query now uses today's date instead of a hardcoded value, ensuring newly added Node.js builtin modules are recognized by the module fallback service.
- Suppressed `CODE_MOVED for unknown code block` log spam originating from workerd diagnostics when using `vitest-pool-workers`.
- Suppressed `outputGateBroken` stderr noise when testing Workflows.