Expo + Jest + Typescript break jest test in SDK43

Hello, with this project GitHub - elgsantos/expo-template-typescript-jest: A React Native Template using Expo, Typescript and Jest I can run yarn test with Expo SDK 40, 41 and 42. But it stop work with expo upgrade 43. The errors are:

yarn run v1.22.15
$ jest
FAIL src/helpers/calc/sum.spec.ts
● Test suite failed to run

/home/andro/apps/test/expo-template-typescript-jest/node_modules/@react-native/polyfills/error-guard.js:14
type ErrorHandler = (error: mixed, isFatal: boolean) => void;
     ^^^^^^^^^^^^

SyntaxError: Unexpected identifier

  at Runtime.createScriptFromCode (node_modules/jest-runtime/build/index.js:1350:14)

FAIL ./App.spec.tsx
● Test suite failed to run

/home/andro/apps/test/expo-template-typescript-jest/node_modules/@react-native/polyfills/error-guard.js:14
type ErrorHandler = (error: mixed, isFatal: boolean) => void;
     ^^^^^^^^^^^^

SyntaxError: Unexpected identifier

  at Runtime.createScriptFromCode (node_modules/jest-runtime/build/index.js:1350:14)

Test Suites: 2 failed, 2 total
Tests: 0 total
Snapshots: 0 total
Time: 1.895 s, estimated 8 s
Ran all test suites.
error Command failed with exit code 1.
info Visit yarn run | Yarn for documentation about this command.

Hi @thedoctorweb or anyone else reading this, were you able to find a solution to this? I am running into the same issue.

Same here! Followed many online suggestions to get jest working with and expo typescript app. Surely there is a definitive guide out there some where of how to do it!
same error as above:

D:\projects\exp-typescript-with-yarn\node_modules\@react-native\polyfills\error-guard.js:14
    type ErrorHandler = (error: mixed, isFatal: boolean) => void;
         ^^^^^^^^^^^^

    SyntaxError: Unexpected identifier

my current packages are:

  "dependencies": {
    "@expo/webpack-config": "^0.17.2",
    "expo": "~47.0.12",
    "expo-status-bar": "~1.4.2",
    "react": "18.1.0",
    "react-dom": "18.1.0",
    "react-native": "0.70.5",
    "react-native-web": "~0.18.9"
  },
  "devDependencies": {
    "@babel/core": "^7.12.9",
    "@types/jest": "^29.4.0",
    "@types/react": "~18.0.14",
    "@types/react-native": "~0.70.6",
    "@types/react-test-renderer": "^18.0.0",
    "jest": "^29.4.2",
    "jest-expo": "^47.0.1",
    "react-test-renderer": "^18.2.0",
    "ts-node": "^10.9.1",
    "typescript": "^4.6.3"
  },

jest.config.ts

import type { Config } from 'jest';

const untranspiledModulePatterns = [
  '(jest-)?react-native',
  'react-clone-referenced-element',
  '@react-native-community',
  'expo(nent)?',
  '@expo(nent)?/.*',
  'react-navigation',
  '@react-navigation/.*',
  '@unimodules/.*',
  'unimodules',
  'sentry-expo',
  'native-base',
  'react-native-svg',
];

const config: Config = {
  preset: 'jest-expo',
  transformIgnorePatterns: [
    `node_modules/(?!${untranspiledModulePatterns.join('|')})`,
  ],
  moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
};

export default config;

Any suggestions @thedoctorweb @reggie3
Help!