1
0
Fork 0
mirror of https://github.com/datashard/snapshot.git synced 2025-05-02 15:07:22 +00:00

adds example to config in readme

This commit is contained in:
Joshua 2023-03-24 14:43:20 +01:00
parent 0d27b308ef
commit c3abd1523a
2 changed files with 4 additions and 1 deletions
.github/assets
README.md

BIN
.github/assets/config.png vendored Normal file

Binary file not shown.

After

(image error) Size: 59 KiB

View file

@ -115,9 +115,12 @@ cy.get(...).snapshot("Intercepted API Request", {
This module provides some configuration options:
#### snapshotPath
#### snapshot.snapshotPath
Sets the default Path for saving Snapshots (default: `cypress/snapshots`)
[!Config Screenshot](./.github/assets/config.png)
#### `ENV` CYPRESS_UPDATE_SNAPSHOTS
Lets you pass a Env Variable to update failing Tests with the new Data