[Wikitech-l] Re: Fwd: Re: Code coverage for JavaScript testing?

2021-10-28 Thread planetenxin
Hi folks, many thanks for your hints and helpful links! Am 28.10.2021 um 02:29 schrieb Jon Robson: I recommend using Jest for unit testing with code coverage. In various Vue.js extensions including NearbyPages

[Wikitech-l] Re: Fwd: Re: Code coverage for JavaScript testing?

2021-10-27 Thread Siddharth VP
There's also the https://github.com/wikimedia-gadgets/mock-mediawiki project which provides a more comprehensive mock mediawiki environment, best used with Jest (though it can be used with any test runner). On Thu, 28 Oct 2021 at 06:00, Jon Robson wrote: > I recommend using Jest

[Wikitech-l] Re: Fwd: Re: Code coverage for JavaScript testing?

2021-10-27 Thread Jon Robson
I recommend using Jest for unit testing with code coverage. In various Vue.js extensions including NearbyPages we use Jest which is recommended by the Vue.js migration team. An alternative