Jest tests failing after SDK 48 update

Please provide the following:

  1. SDK Version : 48
  2. Platforms(Android/iOS/web/all): All
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

After upgrading to SDK 48 I am getting failed Jest tests and I’m not sure where to start looking. Can anyone understand what is failing when async loading assets.

Seems the issues has arisen because we have gone for a global install of jest cli 26 to 29 during this update.

a useFakeTimer work around now causes tests to lock in 26+ and mocks of font and assets are required covered in this post. There are still a number of issues I am working through so any guidance would be appreciated. I guess running the tests from an npm tasks would make sure we are always using a local version of the jest cli

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.