[Bug]: RangeError: Maximum call stack size exceeded (original) (raw)

Version

v28.0.0-next.2

Steps to reproduce

Tests pass with "ts-jest/legacy" preset but fails on "ts-jest" only preset.

Expected behavior

Pass with "ts-jest" only

Actual behavior

Fail tests with following error.

Debug log

image

Additional context

No response

Environment

MAC, NodeJS 16.x Jest 28.0.2