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-s…
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-s…