1
0
Fork 0
mirror of https://github.com/datashard/snapshot.git synced 2025-04-29 05:27:21 +00:00

Merge pull request from stuartlong/stuartlo/add-update-instructions

feat(log): Add instructions about updating snapshot to error message
This commit is contained in:
Gleb Bahmutov 2019-04-26 16:28:19 -04:00 committed by GitHub
commit 9670a9e90a

View file

@ -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}`)
})
}