Remove obsolete test files and their associated cases

- Delete unused test files: `basic.test.ts`, `condition-fix.spec.ts`, `create-document-step.test.ts`, and `error-scenarios.spec.ts`
- Streamline codebase by eliminating redundant and outdated test cases
- Improve maintainability by keeping only relevant and up-to-date tests
This commit is contained in:
2025-09-10 21:12:05 +02:00
parent 0da87dbda7
commit e0b13d3515
12 changed files with 104 additions and 2326 deletions

View File

@@ -56,7 +56,10 @@ The plugin uses separate exports to avoid bundling server-side code in client bu
import { workflowsPlugin } from '@xtr-dev/payload-automation/server'
// Client-side components
import { TriggerWorkflowButton } from '@xtr-dev/payload-automation/client'
import { StatusCell, ErrorDisplay } from '@xtr-dev/payload-automation/client'
// Helper utilities
import { /* helpers */ } from '@xtr-dev/payload-automation/helpers'
// Types only (safe for both server and client)
import type { WorkflowsPluginConfig } from '@xtr-dev/payload-automation'
@@ -216,6 +219,8 @@ export default async function handler(req, res) {
**Benefits**: Better reliability, proper process isolation, easier debugging, and leverages existing infrastructure.
**Note**: Built-in cron triggers have been removed in v0.0.37+ to focus on webhook-based scheduling which provides better reliability and debugging capabilities.
## Documentation
Full documentation coming soon. For now, explore the development environment in the repository for examples and patterns.