dify/web/app/components/workflow/__tests__
Novice 499d237b7e
fix: pass all CI quality checks - ESLint, TypeScript, basedpyright, pyrefly, lint-imports
Frontend:
- Migrate deprecated imports: modal→dialog, toast→ui/toast, tooltip→tooltip-plus,
  portal-to-follow-elem→portal-to-follow-elem-plus, select→ui/select, confirm→alert-dialog
- Replace next/* with @/next/* wrapper modules
- Convert TypeScript enums to const objects (erasable-syntax-only)
- Replace all `any` types with `unknown` or specific types in workflow types
- Fix unused vars, react-hooks-extra, react-refresh/only-export-components
- Extract InteractionMode to separate module, tool-block commands to commands.ts

Backend:
- Fix pyrefly errors: type narrowing, null guards, getattr patterns
- Remove unused TYPE_CHECKING imports in LLM node
- Add ignore_imports entries to .importlinter for dify_graph boundary violations

Made-with: Cursor
2026-03-24 10:54:58 +08:00
..
candidate-node.spec.tsx test(workflow): reorganize specs into __tests__ and align with shared test infrastructure (#33625) 2026-03-18 16:40:28 +08:00
custom-connection-line.spec.tsx test(workflow): reorganize specs into __tests__ and align with shared test infrastructure (#33625) 2026-03-18 16:40:28 +08:00
custom-edge-linear-gradient-render.spec.tsx test(workflow): reorganize specs into __tests__ and align with shared test infrastructure (#33625) 2026-03-18 16:40:28 +08:00
dsl-export-confirm-modal.spec.tsx test(workflow): reorganize specs into __tests__ and align with shared test infrastructure (#33625) 2026-03-18 16:40:28 +08:00
edge-contextmenu.spec.tsx test(workflow): add unit tests for workflow components (#33741) 2026-03-19 18:35:16 +08:00
features.spec.tsx test(workflow): add unit tests for workflow components (#33741) 2026-03-19 18:35:16 +08:00
fixtures.ts fix: pass all CI quality checks - ESLint, TypeScript, basedpyright, pyrefly, lint-imports 2026-03-24 10:54:58 +08:00
i18n.ts test(workflow): add unit tests for workflow components (#33741) 2026-03-19 18:35:16 +08:00
model-provider-fixtures.spec.ts test(workflow): add unit tests for workflow components (#33741) 2026-03-19 18:35:16 +08:00
model-provider-fixtures.ts test(workflow): add unit tests for workflow components (#33741) 2026-03-19 18:35:16 +08:00
reactflow-mock-state.ts test(workflow): reorganize specs into __tests__ and align with shared test infrastructure (#33625) 2026-03-18 16:40:28 +08:00
service-mock-factory.ts test(workflow): add comprehensive hooks unit tests and refactor test infrastructure (Part 3) (#32958) 2026-03-04 17:24:50 +08:00
syncing-data-modal.spec.tsx test(workflow): reorganize specs into __tests__ and align with shared test infrastructure (#33625) 2026-03-18 16:40:28 +08:00
trigger-status-sync.spec.tsx test(workflow): add comprehensive hooks unit tests and refactor test infrastructure (Part 3) (#32958) 2026-03-04 17:24:50 +08:00
workflow-edge-events.spec.tsx Merge main HEAD (segment 5) into sandboxed-agent-rebase 2026-03-23 14:20:06 +08:00
workflow-test-env.spec.tsx test(workflow): add unit tests for workflow components (#33741) 2026-03-19 18:35:16 +08:00
workflow-test-env.tsx test(workflow): add unit tests for workflow components (#33741) 2026-03-19 18:35:16 +08:00