-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(snap): Provide more stable snapshots
Before our auto-named snapshots used line numbers to make them unique. This would fail within macros. They could easily change for no good reason, requiring deleting the entire snapshot directory and restarting. Our paths were relative to the test file. I reconsidered this when doing the above because the function name made things less unique. In making them unique, I'd need to extend the path a lot (`src/<path>/snapshots/<path>.txt`). So I moved them to the root to all be together.
- Loading branch information
Showing
3 changed files
with
105 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters