happo-cypress
Advanced tools
Comparing version
const chunked = require('./src/chunked'); | ||
const takeDOMSnapshot = require('happo-e2e/takeDOMSnapshot'); | ||
Cypress.on('window:before:load', (win) => { | ||
if (takeDOMSnapshot.applyConstructedStylesPatch) { | ||
console.log('[Happo] Applying constructed styles patch'); | ||
takeDOMSnapshot.applyConstructedStylesPatch(win); | ||
} | ||
}); | ||
before(() => { | ||
@@ -5,0 +12,0 @@ cy.on('window:load', takeDOMSnapshot.init); |
{ | ||
"name": "happo-cypress", | ||
"version": "4.3.0", | ||
"version": "4.3.1", | ||
"description": "A Happo integration with Cypress.io", | ||
@@ -26,6 +26,8 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@eslint/js": "^9.20.0", | ||
"cypress": "^13.6.0", | ||
"eslint": "^6.8.0", | ||
"eslint": "^9.20.1", | ||
"esprima": "^4.0.1", | ||
"happo-e2e": "^3.3.1", | ||
"globals": "^15.14.0", | ||
"happo-e2e": "^4.1.0", | ||
"happo.io": "^11.0.1", | ||
@@ -32,0 +34,0 @@ "next": "^12.0.8", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
14281
4.42%8
14.29%424
6%0
-100%10
25%