@argos-ci/browser
Advanced tools
Comparing version 1.0.0-alpha.1 to 1.0.0-alpha.2
declare const ArgosGlobal: { | ||
waitForStability: () => Promise<boolean>; | ||
waitForStability: () => boolean; | ||
prepareForScreenshot: () => void; | ||
@@ -4,0 +4,0 @@ getColorScheme: () => "dark" | "light"; |
@@ -86,8 +86,8 @@ (function () { | ||
* Wait for the document to be stable. | ||
*/ async function waitForStability(document) { | ||
const results = await Promise.all([ | ||
*/ function waitForStability(document) { | ||
const results = [ | ||
waitForNoBusy(document), | ||
waitForImagesToLoad(document), | ||
waitForFontsToLoad(document) | ||
]); | ||
]; | ||
return results.every(Boolean); | ||
@@ -94,0 +94,0 @@ } |
{ | ||
"name": "@argos-ci/browser", | ||
"description": "Browser utilities to stabilize visual testing.", | ||
"version": "1.0.0-alpha.1", | ||
"version": "1.0.0-alpha.2", | ||
"author": "Smooth Code", | ||
@@ -48,3 +48,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "53092b901bd0dd4189270de087ae0177d3d50ca0" | ||
"gitHead": "c0098d1f94517634ee74c141758756cc4a81931d" | ||
} |
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
22
10896