Benjamin
Benjamin
>Do any browsers support this yet? I’d be more inclined to add it if it had browser support. Safari added support for the lch notation (that d3-color already supports: https://caniuse.com/mdn-css_types_color_lch),...
What about uploading the built files to [GitHub packages](https://github.com/features/packages)? so that people can already start to use the new version of this library even if the name isn't available on...
I have a similar issue with running: `corepack enable`: I have this error: `nodenv: corepack: command not found`
Try with ```json { "jsc": { "transform": { "hidden": { "jest": true } } } } ``` I just did and it seems to be working See https://github.com/swc-project/swc/blob/2462b9941f94bc475cf9ff9c67e3b7c1f98739cc/node-swc/__tests__/transform/hidden_jest.js
Update: setting `hidden.jest = true` is already set by `@swc/jest`, but it wasn't applied, #44 fixes that. At the moment of my message, the latest version of `@swc/jest` (0.2.9) doesn't...
@gabberr it was reverted indeed in swc-jest, but a commit was added to swc itself to fix the issue: see https://github.com/swc-project/jest/pull/44#issuecomment-980601069 Can you try with an up to date `swc`?
There should be a test for jest's mocking mechanism: https://github.com/swc-project/jest/pull/46 So it should work now. Can you try updating your versions of both swc and swc-jest to see if it...
I forked your repo here: https://github.com/Ayc0/swc-jest-mock-bug if you want to give it a try. I think this is related to: https://jestjs.io/docs/es6-class-mocks#calling-jestmock-with-the-module-factory-parameter  In the fork, you can see that I...
I agree, I'll open another issue
I opened https://github.com/swc-project/jest/issues/59 for this issue specifically. I think we can close this one then