Fix typos

This commit is contained in:
daniel.motzko
2021-07-05 11:23:10 +02:00
parent e2195587dd
commit a8ce9da802
10 changed files with 34 additions and 33 deletions

View File

@@ -4,7 +4,7 @@ ring: assess
quadrant: tools
---
[Jest](https://facebook.github.io/jest/) is a javascript testing framework by facebook to test javascript code **and** react applications / components.
[Jest](https://facebook.github.io/jest/) is a JavaScript testing framework by facebook to test JavaScript code **and** React applications / components.
We started using Jest (and [watchmen](https://github.com/facebook/watchman)) instead of Karma because it:
@@ -13,6 +13,8 @@ We started using Jest (and [watchmen](https://github.com/facebook/watchman)) ins
- gives us integrated code coverage report
- automatically runs tests related to changed files (instead of all tests)
- gives us parallel test execution
- gives us snapshot testing for react components
- gives us snapshot testing for React components
It is easy to set up. And even if you have a running setup with karma/chai you can easily replace karma with jest. With a small [workaround](https://medium.com/@RubenOostinga/combining-chai-and-jest-matchers-d12d1ffd0303#.3callo273), chai and jest test matchers work fine together.
It is easy to set up.
And even if you have a running setup with Karma/Chai you can easily replace Karma with Jest.
With a small [workaround](https://medium.com/@RubenOostinga/combining-chai-and-jest-matchers-d12d1ffd0303#.3callo273), Chai and Jest test matchers work fine together.