refactor: tests next to components
currently, we have our tests in a separate, root tests directory. within which we reflect the location of the target component.
this is not very straightforward and introduces unnecessary friction when writing tests (finding the directory, reflecting directory position, scrolling in the sidebar to another directory, etc.).
we can instead write the tests next to the component
- better componentization (we can delete a component and we don't have to remember to delete it's tests from another directory)
- more causal testing: simply create an extra file next to any new component with a
renders correctly
template and you're good to go
Edited by Manish