Open zachmullen opened 5 years ago
When using shallow mount, these are pretty lightweight plaintext files, and updating them is straightforward. They can provide an automated sanity check, which is nice, but we should consider whether that's worth it from a cost/benefit perspective.
The burden of adding one is very small in the test code:
expect(vm.$el).toMatchSnapshot();
When using shallow mount, these are pretty lightweight plaintext files, and updating them is straightforward. They can provide an automated sanity check, which is nice, but we should consider whether that's worth it from a cost/benefit perspective.