I migrated from Jest 27 to 28. If I try to start a test now, I just get this error:
● Test suite failed to run
TypeError: Cannot read properties of undefined (reading 'extend')
at createJestExpect (node_modules/@jest/expect/build/index.js:35:19)
at Object.<anonymous> (node_modules/@jest/expect/build/index.js:47:20)
at TestScheduler.scheduleTests (node_modules/@jest/core/build/TestScheduler.js:317:13)
at runJest (node_modules/@jest/core/build/runJest.js:407:19)
at _run10000 (node_modules/@jest/core/build/cli/index.js:338:7)
at runCLI (node_modules/@jest/core/build/cli/index.js:190:3)
Test Suites: 1 failed, 1 total
I can't even debug my tests, because the internal test setup is already failing. Any clue, what's going wrong?