trails/apps/mobile/__mocks__
Ullrich Schäfer 81c40f0c6d
Add Jest mock for expo-crypto
expo-crypto@56 introduced a native AES class that throws in Jest's Node.js
environment on import. Mock the functions actually used (getRandomBytes,
digestStringAsync) so the api-client test suite can run.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-24 11:54:50 +02:00
..
expo-crypto.ts Add Jest mock for expo-crypto 2026-05-24 11:54:50 +02:00