Testing · Unit tests

Expo + Jest + Testing Library

Jest + Testing Library in an Expo SDK 57 app for iOS and Android, wired by one command and checked by doctor.

Jest on jest-expo, with React Native Testing Library and the mocks a real Expo app needs. I'd keep this on - it's what makes swapping modules safe, since each module ships its own tests and they disappear with it. Pick testing/none only if you're bringing another runner. Tests import from @jest/globals and render screens wrapped in the kit's ThemeProvider, so they're stack-agnostic.

When to pick Jest + Testing Library

Jest + Testing Library: The default. Jest on jest-expo with React Native Testing Library and the mocks a real Expo app needs; core tests cover the stores, theme, env, the i18n shim, two kit primitives and the Settings screen.

At a glance

Runs in Expo Go
Yes
Files added
52
npm packages
0
Keys to paste
None
Included in
Starter and Pro
Tests included
45

Set it up

bun run setup --testing jest

Setup copies the module in, installs SDK-matched versions and removes the options you did not pick. Then bun run doctor lists every key still missing, with a link to where you get it. The step-by-step guide is in the Jest + Testing Library docs.

Wiring it by hand instead? Read the guide: jest-expo setup, Expo Router tests and fixes.

Questions

Can I use Jest + Testing Library in Expo Go?

Yes. This module runs in Expo Go, so you can try it before you make a development build.

What do I need to set up Jest + Testing Library in an Expo app?

Only bun run setup --testing jest. There are no API keys to paste; bun run doctor checks the result.

Does the ReadyNative free tier include Jest + Testing Library?

No. It ships in Starter and Pro (one payment, lifetime updates); the free tier ships with testing switched off.

Can I build the app without Jest + Testing Library?

Yes. Pick none for testing (bun run setup --testing none) - no jest; module tests are removed.

Get it

Jest + Testing Library ships in Starter and Pro: one payment, lifetime updates. See pricing or browse every module.