dify/web/app/components/base/markdown-blocks/__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
..
audio-block.spec.tsx test: add unit tests for base components (#32818) 2026-03-02 11:40:43 +08:00
button.spec.tsx test: improve coverage parameters for some files in base (#33207) 2026-03-12 14:57:31 +08:00
code-block.spec.tsx test: improve coverage parameters for some files in base (#33207) 2026-03-12 14:57:31 +08:00
form.spec.tsx refactor: replace react markdown with streamdown (#32971) 2026-03-10 17:02:37 +08:00
img.spec.tsx test: improve coverage for some test files (#32916) 2026-03-06 18:59:16 +08:00
link.spec.tsx test: improve coverage parameters for some files in base (#33207) 2026-03-12 14:57:31 +08:00
music.spec.tsx test: improve coverage parameters for some files in base (#33207) 2026-03-12 14:57:31 +08:00
paragraph.spec.tsx fix: prevent hydration warning from div nesting inside p for inline markdown images (#32419) 2026-03-10 14:07:55 +08:00
plugin-img.spec.tsx test: add unit tests for base components (#32818) 2026-03-02 11:40:43 +08:00
plugin-paragraph.spec.tsx fix: pass all CI quality checks - ESLint, TypeScript, basedpyright, pyrefly, lint-imports 2026-03-24 10:54:58 +08:00
think-block.spec.tsx fix: stop think block timer in historical conversations (#33083) 2026-03-20 11:03:35 +08:00
utils.spec.ts test: improve coverage for some test files (#32916) 2026-03-06 18:59:16 +08:00
video-block.spec.tsx test: add unit tests for base components (#32818) 2026-03-02 11:40:43 +08:00