Closed
Description
When --update-snapshots
is passed, if AVA executes a test file for which there are snapshots, but no snapshot assertion is run, we should remove the snapshot files.
What's tricky though is if tests are skipped, or if snapshot assertions are skipped, we should not remove the snapshot files.
See https://github.com/avajs/ava/blob/9d3b1bad681e1aad18ad8cd53407a7ccb1fc5782/lib/runner.js#L205:L207.
IssueHunt Summary
ninevra has been rewarded.
Backers (Total: $60.00)
issuehunt ($60.00)
Submitted pull Requests
Tips
- Checkout the Issuehunt explorer to discover more funded issues.
- Need some help from other developers? Add your repositories on IssueHunt to raise funds.