You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are also a number of confounding factors: memory consumption seems to have increased considerably when running this repository's tests in Node.js v16.11+, for example, but the commonly suggested workarounds (using ts-jest's isolatedModules option, jest's --runInBand or any combination of other "fixes") don't solve the issue for Apollo Client's tests.
Running the tests with Node.js v18.9.0 results in a hanging test (#10120).
@swc/jest
I've created the branch swc-jest to explore the use of @swc/jest + @swc/core as a replacement for ts-jest.
The text was updated successfully, but these errors were encountered:
@alessbell I am curious to know why you chose @swc/jest instead of babel-jest as an alternative? Is this just because of performance benefit in case of @swc/jest.
@amans1690 yes exactly—@swc/jest's perf is really impressive! Unfortunately there are a few things blocking our migration path so we'll be sticking with jest + ts-jest for now. Closing as won't do.
Memory leak issues with jest + ts-jest have been reported since ~2020. There are several open issues on both projects:
There are also a number of confounding factors: memory consumption seems to have increased considerably when running this repository's tests in Node.js v16.11+, for example, but the commonly suggested workarounds (using ts-jest's
isolatedModules
option, jest's--runInBand
or any combination of other "fixes") don't solve the issue for Apollo Client's tests.Running the tests with Node.js v18.9.0 results in a hanging test (#10120).
@swc/jest
I've created the branch
swc-jest
to explore the use of@swc/jest
+@swc/core
as a replacement forts-jest
.The text was updated successfully, but these errors were encountered: