修复创作主页动画测试竞态 #152

Merged
kdletters merged 2 commits from codex/fix-creation-landing-ci into master 2026-08-08 10:26:54 +08:00
Member

修复内容

  • 隔离角色动作预览测试中的真实帧定时器,避免异步交互期间帧序号偶发漂移。
  • 保留 50ms 动画调度与失败帧、重试交互断言。
  • 补充 React 中间状态断言的可控定时器约束。

验证

  • npm run test -- src/components/creation-home/CreationLandingView.test.tsx --reporter=dot
  • npm run typecheck
  • npm run check:encoding
  • git diff --check
## 修复内容 - 隔离角色动作预览测试中的真实帧定时器,避免异步交互期间帧序号偶发漂移。 - 保留 50ms 动画调度与失败帧、重试交互断言。 - 补充 React 中间状态断言的可控定时器约束。 ## 验证 - `npm run test -- src/components/creation-home/CreationLandingView.test.tsx --reporter=dot` - `npm run typecheck` - `npm run check:encoding` - `git diff --check`
kdletters added 1 commit 2026-08-07 21:15:17 +08:00
修复创作主页动画测试竞态
Project CI / Frontend tests (pull_request) Successful in 3m13s
Project CI / Repository checks (pull_request) Successful in 47s
Project CI / Backend tests (pull_request) Successful in 3m59s
Project CI / Native shell tests (pull_request) Successful in 13m59s
6f720c36b4
隔离角色动作预览测试的真实帧定时器

补充中间状态断言的定时器测试约束
kdletters added 1 commit 2026-08-08 10:26:40 +08:00
Merge branch 'master' into codex/fix-creation-landing-ci
Project CI / Repository checks (pull_request) Has been cancelled
Project CI / Frontend tests (pull_request) Has been cancelled
Project CI / Backend tests (pull_request) Has been cancelled
Project CI / Native shell tests (pull_request) Has been cancelled
ede4dabb43
kdletters merged commit b8e73766fe into master 2026-08-08 10:26:54 +08:00
kdletters deleted branch codex/fix-creation-landing-ci 2026-08-08 10:26:54 +08:00
Sign in to join this conversation.