Hello 馃憢
I have been using babel to compile my typescript projects more and more lately, and the only reason why I am still installing ts-jest is because of the utils/mocked function.
Would you consider extracting this util into its own package?
Maybe it can be exported under ts-jest/utils ? PR is welcome :)
cc @geewee @kulshekhar
I think it's an excellent idea to either export it separately or extract it to its own package. PR's very welcome (or links to the new package, which we will then add to the docs.)
Would it be worth proposing to the Jest team to add it to the core package, especially now that Jest is written in TypeScript, or to https://github.com/jest-community?
might be worth a shot
cc @thymikee do you think this can be in jest repo ?
@SimenB what do you think? The question is whether we should include these utils in Jest core: https://github.com/kulshekhar/ts-jest/blob/master/src/util/testing.ts
Personally I'm fine with sticking those to jest-mock and make them available through type exports.
Yeah, works for me! Looks useful
@thymikee @SimenB I guess I will close this issue as jest will take care of it ?
@ahnpnl let's create an issue for this in Jest first, shall we?
Close as Feature Request was created for Jest
Most helpful comment
Yeah, works for me! Looks useful