@applitools/eyes.cypress
Advanced tools
Comparing version 3.2.20 to 3.2.21
{ | ||
"name": "@applitools/eyes.cypress", | ||
"version": "3.2.20", | ||
"version": "3.2.21", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
'use strict'; | ||
const {presult} = require('@applitools/functional-commons'); | ||
async function getErrorsAndDiffs(closePromises) { | ||
const testResultsOrErrs = await Promise.all(closePromises.map(presult)); | ||
const testResultsOrErrs = await Promise.all(closePromises); | ||
@@ -7,0 +6,0 @@ return testResultsOrErrs.reduce( |
'use strict'; | ||
const {presult} = require('@applitools/functional-commons'); | ||
const pollingHandler = require('./pollingHandler'); | ||
@@ -132,7 +133,3 @@ const {PollingStatus} = pollingHandler; | ||
return async function() { | ||
runningTest.closePromise = doClose(false).catch(err => { | ||
logger.log('error in close', err); | ||
return err; | ||
}); | ||
return runningTest.closePromise; | ||
return (runningTest.closePromise = presult(doClose(false))); | ||
}; | ||
@@ -139,0 +136,0 @@ } |
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
42377
665