70bf21e064
Deploy (to testing) and Test Playground Preview Worker / Deploy Playground Preview Worker (testing) (push) Has been skipped
Deploy Workers Shared Staging / Deploy Workers Shared Staging (push) Failing after 0s
Prerelease / build (push) Has been skipped
Handle Changesets / Handle Changesets (push) Has been cancelled
Semgrep OSS scan / semgrep-oss (push) Has been cancelled
10 lines
783 B
Markdown
10 lines
783 B
Markdown
# 🔁 workflows
|
|
|
|
This Worker includes a ModeratorWorkflow that serves as a template for an automated content moderation process.
|
|
The testing suite uses workflow mocking to validate the logic of each step.
|
|
|
|
| Test | Overview |
|
|
| ----------------------------------------------- | ----------------------------------------------------------------------------------------- |
|
|
| [integration.test.ts](test/integration.test.ts) | Tests on the Worker's endpoints, ensuring that workflows are created and run correctly. |
|
|
| [unit.test.ts](test/unit.test.ts) | Tests on the internal logic of each workflow. It uses mocking to test steps in isolation. |
|