You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unit testing of workflows themselves is not possible yet - but you can still
4
-
trigger them in unit tests.
3
+
This Worker includes two Workflows: a basic workflow that runs a single step and completes `TestWorkflow`, and a long-running worflow that includes more steps `TestLongWorkflow`.
4
+
The testing suite uses workflow mocking to validate the logic of each step.
|[integration.test.ts](test/integration.test.ts)| Tests on the Worker's endpoints, ensuring that workflows are created correctly and statuses can be fetched. |
9
+
|[unit.test.ts](test/unit.test.ts)| Tests on the internal logic of each workflow. It uses mocking to test steps in isolation. |
0 commit comments