spatie/phpunit-snapshot-assertions

need a way to update snapshots with codecept

Closed this issue · 1 comments

Codeception is not sending the params like phpunit and so have to just manually delete the file for force update. Any ideas?

h3ll3r commented

Hi @thevikas, readme states, that it's possible by setting an env variable:

This is possible by adding a-d --update-snapshots flag to the phpunit command, or setting the UPDATE_SNAPSHOTS env var to true.