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
i've tried esbuild-jest which works better out of the box, but has issues with jest-mock() inside of test files.
Now i wanted to try swc-jest, which needs a lot more configuration and fiddling, but i don't get it to work.
In my jest.config.js we explicitly tell jest to look for these files:
testRegex: [".spec.(ts|tsx)$"],
but this seems to be ignored with swc-jest, cause its going through files which are not used in the test.
Hey,
i've tried esbuild-jest which works better out of the box, but has issues with jest-mock() inside of test files.
Now i wanted to try swc-jest, which needs a lot more configuration and fiddling, but i don't get it to work.
In my jest.config.js we explicitly tell jest to look for these files:
testRegex: [".spec.(ts|tsx)$"],
but this seems to be ignored with swc-jest, cause its going through files which are not used in the test.
my .swcrc looks like this:
Seems to me it tries to compile the whole project
The text was updated successfully, but these errors were encountered: