✨ feat(core): 实现回收站条目展示逻辑及UI组件
* 新增 TrashItemInfo 组件以优化回收站列表项展示 * 封装 trashPresentation 工具类处理时间显示逻辑 * 调整 TrashView 布局,重构列表项渲染逻辑 * 新增回收站功能相关的集成测试与单元测试 * 更新测试文档以说明回收站日期格式化测试规则 * 更新 package.json 依赖配置
This commit is contained in:
1 parent
af009cf3c5
commit
614b9a2104
7 files changed
+243
-14
No files matched your search
@@ -5,6 +5,8 @@
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"test:trash": "node --experimental-strip-types --test tests/trashPresentation.test.mjs tests/trashPresentation.integration.test.mjs",
|
||||
"test:trash:coverage": "node --experimental-strip-types --test --experimental-test-coverage --test-coverage-include=src/utils/trashPresentation.ts tests/trashPresentation.test.mjs",
|
||||
"test:motion": "node --experimental-strip-types --test tests/detailMotion.test.mjs",
|
||||
"test:motion:coverage": "node --experimental-strip-types --test --experimental-test-coverage --test-coverage-include=src/utils/detailMotion.ts tests/detailMotion.test.mjs",
|
||||
"build": "run-s check:architecture type-check build-only",
|
||||
|
||||
Reference in new issue
Block a user