Skip to content

Conversation

@rbnayax
Copy link
Contributor

@rbnayax rbnayax commented Jan 4, 2026

Recent changes in #1075 is causing issued with complex types:

error TS2589: Type instantiation is excessively deep and possibly infinite
error TS2590: Expression produces a union type that is too complex to represent

This PR fixes that (based on the typings of ts-vitest)
I couldn't find a way to reproduce it without installing the aws sdk

@rbnayax rbnayax changed the title fix: ts-jest deep recursive ts-jest regression in 1.0.0 due to DeepMocked type changes Jan 4, 2026
@underfisk
Copy link
Collaborator

@rbnayax Thank you, i will have it published with the ts-vitest this week

@underfisk underfisk merged commit 8ebe044 into golevelup:master Jan 4, 2026
1 check passed
@rbnayax rbnayax deleted the ts-jest-deep branch January 4, 2026 15:57
@underfisk
Copy link
Collaborator

@rbnayax New version available #1118 for more details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants