# test\(web\): ban frame and transition waits in browser tests · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/758580700c04d7d7d02ba8392d813b7efe5e76e0)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 758580700c04d7d7d02ba8392d813b7efe5e76e0

Requested commit: 758580700c04d7d7d02ba8392d813b7efe5e76e0

Commit: 758580700c04d7d7d02ba8392d813b7efe5e76e0

Tree: 31fa9f8ccf8ee3aa957b8d2d130e352e2d813e9a

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
test(web): ban frame and transition waits in browser tests

Add t3code/no-frame-waits-in-browser-tests for apps/web browser tests. It
rejects requestAnimationFrame waits, real timers inside Promise executors,
transitionend/animationend listeners, direct vi.useFakeTimers, and partial
toFake sets. Existing tests now assert through expect.element/vi.waitFor,
step mocked frames, or advance the full fakeTimers() clock.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [c925428cd27cae9711e90562e6094bc9b6401a6b](https://git.cafe/pingdotgg/t3code/commit/c925428cd27cae9711e90562e6094bc9b6401a6b?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/758580700c04d7d7d02ba8392d813b7efe5e76e0?format=markdown)
