@applitools/rendering-grid-client
Advanced tools
Comparing version 4.0.5 to 4.0.6
{ | ||
"name": "@applitools/rendering-grid-client", | ||
"version": "4.0.5", | ||
"version": "4.0.6", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "src/rendering-grid-client.js", |
@@ -130,2 +130,3 @@ 'use strict'; | ||
close, | ||
abort, | ||
}; | ||
@@ -146,2 +147,6 @@ | ||
} | ||
function abort() { | ||
return Promise.all(wrappers.map(wrapper => wrapper.abortIfNotClosed())); | ||
} | ||
}; | ||
@@ -148,0 +153,0 @@ } |
@@ -72,9 +72,4 @@ 'use strict'; | ||
async function openWrappers({wrappers, browsers, appName, testName}) { | ||
for (let i = 0, ii = wrappers.length; i < ii; i++) { | ||
const browser = browsers[i]; | ||
const {width, height} = browser; | ||
await wrappers[i].open(appName, testName, {width, height}); | ||
} | ||
function openWrappers({wrappers, browsers, appName, testName}) { | ||
return Promise.all(wrappers.map((wrapper, i) => wrapper.open(appName, testName, browsers[i]))); | ||
} | ||
@@ -81,0 +76,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
50136