Simen Bekkhus
Simen Bekkhus
Assuming no breaking changes, you can use yarn resolutions to test yourself. https://yarnpkg.com/lang/en/docs/selective-version-resolutions/
Yeah, this is https://github.com/istanbuljs/babel-plugin-istanbul/pull/301
That won't happen any time soon though - in the meantime you can use `jest-image-snapshot` - the snapshot file will get the test's name automatically. If that doesn't fit, I'd...
>We should rely on third-party mechanisms like Rust-based resolvers when it comes to custom test deps. I don't agree with this as any difference in resolution is a bug. If...
PR very much welcome!
would that work if said file imported another ts file? or will swc bundle?
`@swc/core` has a `bundle` export: https://www.runpkg.com/?@swc/[email protected]/index.js#229 (I don't care if `swc` or `esbuild` is chosen, I've never used either and haven't cared to check any of them out)
I don't think we should remove `ts-node` (but as it would be a breaking change, but also since I don't think any of the alternatives does any type checking?), but...
For people currently using `ts-node` it would stop working - it's a peer dependency, not a dependency
Current thinking: https://github.com/facebook/jest/issues/13143#issuecomment-1249081951 I.e. allowing a user to specify which loader to use.