mirror of
https://github.com/datashard/snapshot.git
synced 2024-11-24 23:02:28 +00:00
Merge pull request #25 from stuartlong/stuartlo/add-update-instructions
feat(log): Add instructions about updating snapshot to error message
This commit is contained in:
commit
9670a9e90a
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ function registerCypressSnapshot () {
|
|||
devToolsLog.expected = expected
|
||||
delete devToolsLog.value
|
||||
devToolsLog.value = value
|
||||
throw new Error(`Snapshot difference\n${json.message}`)
|
||||
throw new Error(`Snapshot difference. To update, delete snapshot and rerun test.\n${json.message}`)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue