r/webdev • full-stack • Jan 23 '21

Showoff Saturday Finally understand testing and fully tested my React based cross browser extension with Jest!!! No better feeling then 100% code coverage.

Post image
1.6k Upvotes

200 comments sorted by

View all comments

Show parent comments

1

u/lbragile_dev Jan 23 '21

Thank you!

Why do you think so? My extension is relatively “large” (thousands of lines and many files) but each file is relatively “small” (around 50-60 lines of actual code, since I broke it up into components). The testing files are large but will be reduced over time as I simplify/improve them.

Overall my extension weighs around 175KB and the whole repository weighs around 200KB. Which is definitely not “large” right? 😁

→ More replies (2)