snapshot
snapshot copied to clipboard
Uninvoked empty snapshot fix
Using 'readFileMaybe' plugin for storing snapshots for each test run next to the initial test caller, there is no need of creating an empty file if no test invokes a snapshot.
This is needed in Cypress 4.0 since cy.writeFile() will yield null