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
FWIW, I'm using @swc/jest and my jest.config.ts looks like that:
importtype{Config}from'@jest/types';constconfig: Config.InitialOptions={// ...transform: {'^.+\\.ts$': ['@swc/jest',{sourceMaps: 'inline'}]},// without the "swc"};exportdefaultconfig;
Uh oh!
There was an error while loading. Please reload this page.
I think that this is because source maps must be generated inline.
A fix for this was proposed in #632, which set's the source map as inline for jest if it is undefined however it is not undefined by default.
I'm configuring jest in package.json using the preset
A workaround is to set it manually
I notice that when reading tsconfig it is given a default value. This may be the problem.
swc-node/packages/register/read-default-tsconfig.ts
Lines 99 to 107 in 8c180e6
The text was updated successfully, but these errors were encountered: