[tests] Fix flaky flight tests (#35513)
Flights tests are failing locally and in CI non-deterministically
because we're not disabling async hooks after tests, and GC can clear
WeakRefs non-deterministically.
This PR fixes the issue by adding an afterEach to disable installed
hooks, and normalizing the `value` to `value: {value: undefined}}` when
snapshotting. R
Ricky committed
195fd2286bcc3286859651d6709e5ae5a250335b
Parent: d87298a
Committed by GitHub <noreply@github.com>
on 1/18/2026, 8:36:00 PM