# test: ban wall-clock readings in tests · pingdotgg/t3code

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

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

Visibility: public

Requested revision: f9f829ed2d4b70d10a5aec575e8bae762b3f3bfd

Requested commit: f9f829ed2d4b70d10a5aec575e8bae762b3f3bfd

Commit: f9f829ed2d4b70d10a5aec575e8bae762b3f3bfd

Tree: d878482ba6d7a4c5f18786242a08ea289968beae

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
test: ban wall-clock readings in tests

Add t3code/no-wall-clock-in-tests, which flags Date.now(), new Date(), performance.now() and process.hrtime in test files unless they feed a vi mock. Drop elapsed-time assertions in favour of the behavioral ones, pin fixture timestamps to fixed epochs, and seed fake clocks with constants. The recovery benchmark stays env-gated with a suppression.

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

```

## Parents

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

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