I successfully updated my app to expo SDK 48
it’s working on production
but now many of my jest test are failling
● Test suite failed to run
Cannot find native module 'ExpoImage'
1 | import React from "react";
2 | import type { ImageProps, ImageStyle } from "expo-image";
> 3 | import { Image as ExpoImage } from "expo-image";
How can I fix the error message Cannot find native module 'ExpoImage'
?
I tried to
// jest.setup.js
jest.mock("expo-image");
but it’s not working