Snapshot location
Closed this issue · 2 comments
lloricode commented
Hi it would be nice if a snapshot location is located same in test directory, just like base snapshot
By default, snapshots are stored in a snapshots directory relative to the test class.
thank you
lloricode commented
I have large project using PHPunit with spatie/phpunit-snapshot-assertions, then my concern is after half of the test moved to pestphp syntax then adding spatie/pest-plugin-snapshots, all snapshot file is moved to directory beside of Pest.php file. Can we make this the same as the base snapshot directory?
lloricode commented
already answer by @freekmurze in private repo in https://testing-laravel.com/
I would recommend not to use both package in a project.
If possible, try to convert all your snapshot tests in one go.