React-Native-Local-Resource
React-Native-Local-Resource copied to clipboard
jest mock
Is there a way to use this with jest? I think it would need a mockup that just returns whatever is imported via jests require
?
jest.mock("react-native-local-resource", () => (source:string) => Promise.resolve(source))