// jest.config.ts import { resolve } from "path" const jestConfig = { // preset: 'jest-expo', preset: 'ts-jest', transform: { '^.+\\.(ts|tsx)$': 'babel-jest', }, moduleNameMapper: { '@': "" }, transformIgnorePatterns: [ 'node_modules/(?!' + [ '@cspotcode', 'node-fetch', 'fetch-blob', 'data-uri-to-buffer', 'jest-runtime', 'formdata-polyfill' ].join('|') + ')', ], } export default jestConfig