jest.config.js
module.exports = {
preset: "@testing-library/react-native",
verbose: true,
transformIgnorePatterns: [
"node_modules/(?!(jest-)?react-native|react-clone-referenced-element|@react-native-community|expo(nent)?|@expo(nent)?/.*|react-navigation|@react-navigation/.*|@unimodules/.*|unimodules|sentry-expo|native-base)"
],
modulePathIgnorePatterns: ["lib/"]
};