scott-the-programmer/scott-the-programmer.github.io

Refactor tests so they're at the component level

Opened this issue · 0 comments

As an example, ./src/tests/hero.spec.js is testing the entire hero component, however this could easily be refactored to test against SocialIcon