Title: Unit testing with Jest - Expo Documentation
Open Graph Title: Unit testing with Jest
X Title: Unit testing with Jest
Description: Learn how to set up and configure the jest-expo library to write unit and snapshot tests for a project with Jest.
Open Graph Description: Learn how to set up and configure the jest-expo library to write unit and snapshot tests for a project with Jest.
X Description: Learn how to set up and configure the jest-expo library to write unit and snapshot tests for a project with Jest.
X: @expo
Domain: docs.expo.dev
{"@context":"https://schema.org","@type":"WebSite","name":"Expo Documentation","url":"https://docs.expo.dev","publisher":{"@type":"Organization","name":"Expo","url":"https://expo.dev","logo":{"@type":"ImageObject","url":"https://docs.expo.dev/static/images/expo-logo.svg"},"sameAs":["https://github.com/expo","https://x.com/expo","https://bsky.app/profile/expo.dev","https://www.linkedin.com/company/expo-dev/","https://www.youtube.com/@expodevelopers"]}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Develop","item":"https://docs.expo.dev"},{"@type":"ListItem","position":2,"name":"Unit testing"}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Unit testing with Jest","description":"Learn how to set up and configure the jest-expo library to write unit and snapshot tests for a project with Jest.","dateModified":"June 30, 2026","publisher":{"@type":"Organization","name":"Expo","url":"https://expo.dev","logo":{"@type":"ImageObject","url":"https://docs.expo.dev/static/images/expo-logo.svg"},"sameAs":["https://github.com/expo","https://x.com/expo","https://bsky.app/profile/expo.dev","https://www.linkedin.com/company/expo-dev/","https://www.youtube.com/@expodevelopers"]},"url":"https://docs.expo.dev/develop/unit-testing/"}
| None | IE=edge |
| og:type | website |
| og:image | https://og.expo.dev/?theme=docs&title=Unit testing with Jest&description=Learn how to set up and configure the jest-expo library to write unit and snapshot tests for a project with Jest. |
| og:image:url | https://og.expo.dev/?theme=docs&title=Unit testing with Jest&description=Learn how to set up and configure the jest-expo library to write unit and snapshot tests for a project with Jest. |
| og:image:secure_url | https://og.expo.dev/?theme=docs&title=Unit testing with Jest&description=Learn how to set up and configure the jest-expo library to write unit and snapshot tests for a project with Jest. |
| og:locale | en_US |
| og:site_name | Expo Documentation |
| twitter:card | summary_large_image |
| twitter:image | https://og.expo.dev/?theme=docs&title=Unit testing with Jest&description=Learn how to set up and configure the jest-expo library to write unit and snapshot tests for a project with Jest. |
| google-site-verification | izrqNurn_EXfYbNIFgVIhEXkkZk9DleELH4UouM8s3k |
| docsearch:version | none |
Links:
Viewport: width=device-width, initial-scale=1.0