Closed denistsoi closed 3 years ago
Sorry if I've missed something but test fails when importing jest test into tsdx repo.
It looks like the repo you're moving it from is on a newer version of Jest than TSDX, and that's likely why there's some difference. TSDX also uses ts-jest
by default. I would suggest checking such whether such things as versions and configs are equivalent in a migration before filing an issue, as those are often responsible for inconsistencies.
TSDX has a tiny wrapper around Jest merely to set default config (and some arg processing due to inability to use import Jest and execute it); there are no modifications to Jest internals, hence no real reason why TSDX could be responsible for such an issue.
Sorry if I've missed something but test fails when importing jest test into tsdx repo.
Current Behavior
I'm migrating a component into a project that uses tsdx.
The jest test above passes in the original repo. git-actions
👇 (attached screenshot)
Now if I move this test to the top (as the first expect, the test passes).
Expected behavior
The following should pass regardless of where this is included in a
it
closure.Suggested solution(s)
Not sure -
Additional context
Your environment