Dziamid

Results 6 comments of Dziamid

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...

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.

Already using it, but i am getting 2 screenshots for each failing spec, though I'd prefer to have only one.

This lib is not maintained anymore, please use some of the forks, e.g. https://github.com/thedistricts/parse-mockdb

Absolutely, I will update the examples. Meanwhile, if need to test a function that returns a promise, then you should chain to that promise: ``` loadUser().then(function () { //load user...