mirror of
https://github.com/datashard/snapshot.git
synced 2024-11-21 05:32:28 +00:00
make devtoolslog a let because it breaks code @ work
This commit is contained in:
parent
097495615b
commit
4316f5e1c2
3 changed files with 3 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -3,3 +3,4 @@ node_modules/
|
|||
npm-debug.log
|
||||
cypress/videos/
|
||||
cypress/screenshots/
|
||||
cypress/snapshots/Arrays.json
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@datashard/snapshot",
|
||||
"description": "Adds value / object / DOM element snapshot testing support to Cypress test runner",
|
||||
"version": "2.1.8",
|
||||
"version": "2.2.1",
|
||||
"author": "Joshua <data@shard.wtf>, Gleb Bahmutov <gleb@cypress.io>",
|
||||
"bugs": "https://github.com/datashard/snapshot/issues",
|
||||
"engines": {
|
||||
|
|
|
@ -38,7 +38,7 @@ const set_snapshot = (
|
|||
) => {
|
||||
if (!store) return;
|
||||
|
||||
const devToolsLog = { $el: serialized };
|
||||
let devToolsLog = { $el: serialized };
|
||||
|
||||
if (Cypress.dom.isJquery(value)) {
|
||||
devToolsLog.$el = value;
|
||||
|
|
Loading…
Reference in a new issue