Patrick Dahms
Patrick Dahms
@kdy1 does this help? Maybe the `Object.keys(_node).forEach` produces the mismatch? Jest complains that this line is not covered: `export * as node from './BodyNodesBuilder';` Edit: tested with - `@swc/jest` `0.2.20`...
@kdy1 You can find it here: https://gist.github.com/bobaaaaa/3649b3a7e6312793a257bf67c500128a Let me know if something is missing. (thx for investigating ❤️)
@kdy1 Hm, I tested both `sourceMaps` in `.swcrc` and as an option in the `jest.config.json`. Both did not work for me. Even with `target: "es2021"`.
@kdy1 I updated the gist with the generated .js + .js.map files: https://gist.github.com/bobaaaaa/3649b3a7e6312793a257bf67c500128a
@kdy1 I tested the new version. Unfortunately, its still not fixed :( Tested with `es2020` & `es2021` + `sourceMaps: true` & `sourceMaps: "inline"`. I updated all files in my gist...
@kdy1 problem is still there with `v1.2.156`
@kdy1 I saw you created another fix (https://github.com/swc-project/swc/pull/4074) 👍 Because in `1.2.157` the issue is still present.
yes, can confirm. This is still not fixed. But `/* istanbul ignore next */` now works :)
Hi, oh my ... that works :). Thanks 👍 Should I close the issue?
I guess we run into the same problem. We downgrade to the (deprecated) `grpc` package. That helps, but is unsatisfying. I could also provide trace logs if that helps.