Two necessities: Reusable code, and good tests.
We share variables between SASS and JS, and wanted to improve our snapshots. So we made a jest transformer that pulls in semantic variable names from SASS 🙂 To use in your React tests: npmjs.com/package/jest-scss-…
We’re passionate about code, and our frontend team loves to swap findings of libraries and packages that we think are done well, are unique, or are just plain cool. Here’s a few of our recent favorites!