documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Add info about Mocha and Jest to TS docs

Open vkarpov15 opened this issue 3 years ago • 1 comments

What does this PR do?

Re: discussion from https://github.com/temporalio/temporal-pendulum/pull/18, I think it is better to guide devs to use any testing framework other than Jest by default. This PR makes the testing docs suggest Mocha, while still linking to the Jest sample and adding more info on 1) how to get Jest to work, and 2) supported versions of Jest. I took a look and our Jest samples don't work with Jest 26.x.

Notes to reviewers

vkarpov15 avatar Jul 13 '22 00:07 vkarpov15

I'd keep jest as the default runner since as I mentioned in the pendulum PR and so has Loren here (with citations) it's by far the most popular test runner. Up until today we've handled all of the issues with using jest. @vkarpov15 if you've got some time maybe you can look into this one: https://github.com/temporalio/sdk-typescript/issues/753

bergundy avatar Jul 13 '22 05:07 bergundy