Comparing version 2.2.2 to 2.2.3
@@ -105,3 +105,11 @@ const crypto = require('crypto'); | ||
async finish() { | ||
if (HAPPO_DEBUG) { | ||
console.log('[HAPPO] Running Controller.finish'); | ||
} | ||
if (this.localSnapshots.length) { | ||
if (HAPPO_DEBUG) { | ||
console.log( | ||
`[HAPPO] Processing ${this.localSnapshots.length} local snapshots`, | ||
); | ||
} | ||
await this.processSnapRequestIds([await this.uploadLocalSnapshots()]); | ||
@@ -111,2 +119,5 @@ return null; | ||
if (!this.snapshots.length) { | ||
if (HAPPO_DEBUG) { | ||
console.log('[HAPPO] No snapshots recorded'); | ||
} | ||
return null; | ||
@@ -229,2 +240,6 @@ } | ||
} | ||
if (HAPPO_DEBUG) { | ||
console.log(`[HAPPO] Registering snapshot for ${component} > ${variant}`); | ||
} | ||
this.snapshotAssetUrls.push(...assetUrls); | ||
@@ -231,0 +246,0 @@ const targets = this.handleDynamicTargets(rawTargets); |
{ | ||
"name": "happo-e2e", | ||
"version": "2.2.2", | ||
"version": "2.2.3", | ||
"description": "Helpers for e2e integrations with Happo", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
771186
2929