Storyshots now tests that our React components generate consistent markup.
Manual markup tests (in .test.js files) are redundant and harder to maintain than snapshots. For each markup test, we should make sure there is a storybook covering the same rendering, then delete the markup test.
Note: we should not delete the test cases that test actions.
Storyshots now tests that our React components generate consistent markup.
Manual markup tests (in .test.js files) are redundant and harder to maintain than snapshots. For each markup test, we should make sure there is a storybook covering the same rendering, then delete the markup test.
Note: we should not delete the test cases that test actions.