You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Native engine: should the real Reanimated run by default? #841
Reanimated has two official Jest modes: its mock, where animations land at once, and the real library with setUpTests(), where mappers run and timed animations need timers advanced. A suite is written against one of them. The native engine serves the mock by default; presets: { reanimated: false } runs the real library, and vitest-native migrate writes it for suites whose Jest setup ran the real library (#834).
Open question: should the native engine run the real library by default? Flipping it would fix suites written for the real library and break suites written for the mock in the same silent way, so it needs evidence first:
real suites run both ways, recording which Jest mode each uses;
the per-file cost of loading the real Reanimated and Worklets graph, measured by count;
Gesture Handler over the real Worklets under Reanimated 4.7.
If the default changes, it ships as a documented default change. Follow-up to #834.
Activity