Closed marchaos closed 2 years ago
We have over 3000+ source files, and our tests stall when running with v1.5.0 / 1.5.1.
We tracked down the issue to this line - https://github.com/swc-project/swc-node/blob/master/packages/jest/index.ts#L32, which in turn attempts to include the tsconfig file every time process is called.
If you move readDefaultTsConfig() outside of process, everything works again.
readDefaultTsConfig()
We have over 3000+ source files, and our tests stall when running with v1.5.0 / 1.5.1.
We tracked down the issue to this line - https://github.com/swc-project/swc-node/blob/master/packages/jest/index.ts#L32, which in turn attempts to include the tsconfig file every time process is called.
If you move
readDefaultTsConfig()
outside of process, everything works again.