gabrielbull / gabrielbull/react-desktop

Switch tests to Jest

Open
#96 4 comments 1 reaction 2 assignees Claimed by @alacroix View on GitHub
enhancement
Dominant language
JavaScript
Stars
9.5k
Forks
447
PR merge metrics
No merged PRs in 30d

Description

I believe this will make contributions to this project easier. Recently I created a PR and wanted to add some tests but noticed that there are no tests for any interactions yet so I would need to make a choice of a mocking framework (Sinon?) but ideally I'd just jump into writing tests. Jest comes as a feature-reach testing framework that has everything needed to test React components bundled (snapshot testing is amazing BTW, mocking, promises etc.).

Would you consider switching to Jest if I would create a PR?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.