@cloudflare/workflows-shared@0.4.0
📦 cloudflare-workersView on GitHub →
✨ 3 features🔧 2 symbols
Summary
This minor release introduces new test handlers for Cloudflare Workflows within vitest-pool-workers, allowing developers to retrieve the output or error from workflow instances.
✨ New Features
- Added Workflows test handlers in vitest-pool-workers to retrieve the Workflow instance output and error.
- Introduced `getOutput()` to return the output of a successfully completed Workflow instance.
- Introduced `getError()` to return the error information of an errored Workflow instance.
🔧 Affected Symbols
getOutput()getError()