[PR #29743] chore: add tests for config string and dataset card item #32540

Closed
opened 2026-02-21 20:51:36 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/29743

State: closed
Merged: Yes


Summary

  • add comprehensive Jest/RTL coverage for config string component bounds and edge cases
  • add dataset card item tests covering badges, edit drawer flow, delete hover state, default icon, and mobile mask

Testing

  • pnpm test -- app/components/app/configuration/config-var/config-string/index.spec.tsx
  • pnpm test -- app/components/app/configuration/dataset-config/card-item/index.spec.tsx
  • pnpm type-check:tsgo
**Original Pull Request:** https://github.com/langgenius/dify/pull/29743 **State:** closed **Merged:** Yes --- ## Summary - add comprehensive Jest/RTL coverage for config string component bounds and edge cases - add dataset card item tests covering badges, edit drawer flow, delete hover state, default icon, and mobile mask ## Testing - pnpm test -- app/components/app/configuration/config-var/config-string/index.spec.tsx - pnpm test -- app/components/app/configuration/dataset-config/card-item/index.spec.tsx - pnpm type-check:tsgo
yindo added the pull-request label 2026-02-21 20:51:36 -05:00
yindo closed this issue 2026-02-21 20:51:36 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#32540