Skip to content

Conversation

@haozang54-source
Copy link
Contributor

@haozang54-source haozang54-source commented Oct 9, 2025

🤔 这个 PR 的性质是?

  • 日常 bug 修复
  • 新特性提交
  • 文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • CI/CD 改进
  • 重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他

🔗 相关 Issue

#697

📝 更新日志

test(date-time-picker): boost coverage 95%+

Add MockPicker spec to hit header/footer/onConfirm/onCancel props wiring
Add rerender path to cover “no header/footer and no handlers” falsy branches
Add className/style specs to hit template literal trim branches
Improve filter/renderLabel/array time-mode branch coverage
Fix test stability by using rerender from render result
Affected

src/date-time-picker/tests/date-time-picker.test.tsx
src/date-time-picker/DateTimePicker.tsx

@haozang54-source haozang54-source changed the title test(date-time-picker): cover Picker props (209–214) and boost covera… test(date-time-picker): boost coverage Oct 9, 2025
…ge 95%+

Add MockPicker spec to hit header/footer/onConfirm/onCancel props wiring
Add rerender path to cover “no header/footer and no handlers” falsy branches
Add className/style specs to hit template literal trim branches
Improve filter/renderLabel/array time-mode branch coverage
Fix test stability by using rerender from render result
Affected

src/date-time-picker/tests/date-time-picker.test.tsx
src/date-time-picker/DateTimePicker.tsx
@anlyyao anlyyao force-pushed the feat/zelas-DateTimePicker-test branch from 4fdd979 to 47e6187 Compare November 10, 2025 13:53
@github-actions
Copy link
Contributor

github-actions bot commented Nov 10, 2025

完成

@anlyyao anlyyao force-pushed the feat/zelas-DateTimePicker-test branch from 79fd676 to 1df6f53 Compare November 11, 2025 03:00
@anlyyao anlyyao force-pushed the feat/zelas-DateTimePicker-test branch from 1df6f53 to d4cba6a Compare November 11, 2025 03:15
@pkg-pr-new
Copy link

pkg-pr-new bot commented Nov 11, 2025

Open in StackBlitz

npm i https://pkg.pr.new/tdesign-mobile-react@806

commit: 948b1cc

@anlyyao anlyyao merged commit bf7aa53 into Tencent:develop Nov 11, 2025
9 checks passed
@github-actions github-actions bot mentioned this pull request Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants