mirror of
https://github.com/datashard/snapshot.git
synced 2024-11-24 23:02:28 +00:00
feat(log): Add instructions about udpating snapshot to error message
This commit is contained in:
parent
2fbd969ab8
commit
a7f44204b3
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ function registerCypressSnapshot () {
|
||||||
devToolsLog.expected = expected
|
devToolsLog.expected = expected
|
||||||
delete devToolsLog.value
|
delete devToolsLog.value
|
||||||
devToolsLog.value = 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