Change8

@cloudflare/vitest-pool-workers@0.12.0

📦 cloudflare-workersView on GitHub →
1 features🐛 2 fixes🔧 2 symbols

Summary

This release introduces new methods for retrieving Workflow instance output and errors in vitest-pool-workers and resolves an issue where the test pool could hang due to port conflicts during debugging.

✨ New Features

  • Added Workflows test handlers in vitest-pool-workers to retrieve Workflow instance output and errors via `getOutput()` and `getError()` methods.

🐛 Bug Fixes

  • Fixed vitest-pool-workers hanging when the default inspector port (9229) is already in use by automatically finding the next available port when debugging is enabled and the default port is unavailable.
  • Ensured an error is thrown with a clear message if a user explicitly specifies an unavailable inspector port.

🔧 Affected Symbols

getOutput()getError()