@zondax/zemu
Advanced tools
Comparing version 0.13.1 to 0.13.2
@@ -394,3 +394,3 @@ "use strict"; | ||
Zemu.prototype.waitUntilScreenIsNot = function (screen, timeout) { | ||
if (timeout === void 0) { timeout = 2000; } | ||
if (timeout === void 0) { timeout = 10000; } | ||
return __awaiter(this, void 0, void 0, function () { | ||
@@ -415,3 +415,3 @@ var start, inputSnapshotBufferHex, currentSnapshotBufferHex, elapsed; | ||
} | ||
return [4 /*yield*/, Zemu.delay(100)]; | ||
return [4 /*yield*/, Zemu.delay(1000)]; | ||
case 4: | ||
@@ -418,0 +418,0 @@ _a.sent(); |
@@ -5,3 +5,3 @@ { | ||
"license": "Apache-2.0", | ||
"version": "0.13.1", | ||
"version": "0.13.2", | ||
"description": "Zemu Testing Framework", | ||
@@ -8,0 +8,0 @@ "main": "./dist/src/index.js", |
@@ -337,3 +337,3 @@ /** ****************************************************************************** | ||
async waitUntilScreenIsNot(screen: any, timeout = 2000) { | ||
async waitUntilScreenIsNot(screen: any, timeout = 10000) { | ||
const start = new Date() | ||
@@ -349,3 +349,3 @@ const inputSnapshotBufferHex = (await screen).buffer.toString('hex') | ||
} | ||
await Zemu.delay(100) | ||
await Zemu.delay(1000) | ||
currentSnapshotBufferHex = (await this.snapshot()).buffer.toString('hex') | ||
@@ -352,0 +352,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
2914625