react-typescript-boilerplate icon indicating copy to clipboard operation
react-typescript-boilerplate copied to clipboard

Update testing framework to jest

Open dziamid opened this issue 8 years ago • 4 comments

Jest is now the default testing framework of react-boilerplate. Would love to see an example of integration with typescript.

dziamid avatar Nov 10 '16 09:11 dziamid

Been pretty busy lately, but I'll see if I can get some time to update this over the weekend.

StrikeForceZero avatar Nov 10 '16 10:11 StrikeForceZero

Great, the problem i am facing is how to ingrate jest with typescript. There is a package for that https://github.com/kulshekhar/ts-jest, but i am trouble using it alongside with awesome-typescript-loader. Created an issue here: https://github.com/kulshekhar/ts-jest/issues/58

dziamid avatar Nov 10 '16 10:11 dziamid

sorry, for not handling this yet and replying so late, I've been bogged down with other responsibilities. Have you had any luck?

StrikeForceZero avatar Dec 20 '16 18:12 StrikeForceZero

NP, yes, actively using typescript with jest, but not with ts-jest. Had to use a custom preprocessor to run both ts and js files in jest.

dziamid avatar Dec 21 '16 06:12 dziamid