@zondax/zemu
Advanced tools
Comparing version 0.27.0-rc2 to 0.27.1
@@ -223,5 +223,3 @@ "use strict"; | ||
var elfInfo = elfy_1["default"].parse(elfApp); | ||
if (elfInfo.entry !== elfCodeNanoS && | ||
elfInfo.entry !== elfCodeNanoX && | ||
elfInfo.entry !== elfCodeNanoSP) { | ||
if (elfInfo.entry !== elfCodeNanoS && elfInfo.entry !== elfCodeNanoX && elfInfo.entry !== elfCodeNanoSP) { | ||
throw new Error('Are you sure is a Nano S/S+/X app ?'); | ||
@@ -468,3 +466,3 @@ } | ||
return __awaiter(this, void 0, void 0, function () { | ||
var snapshotPrefixGolden, snapshotPrefixTmp, imageIndex, filename, i, value, j, j; | ||
var snapshotPrefixGolden, snapshotPrefixTmp, imageIndex, filename, i, value, j, j, events; | ||
return __generator(this, function (_a) { | ||
@@ -530,3 +528,7 @@ switch (_a.label) { | ||
return [3 /*break*/, 2]; | ||
case 14: return [2 /*return*/, this.compareSnapshots(path, testcaseName, imageIndex)]; | ||
case 14: return [4 /*yield*/, this.getEvents()]; | ||
case 15: | ||
events = _a.sent(); | ||
this.log(events); | ||
return [2 /*return*/, this.compareSnapshots(path, testcaseName, imageIndex)]; | ||
} | ||
@@ -533,0 +535,0 @@ }); |
@@ -5,3 +5,3 @@ { | ||
"license": "Apache-2.0", | ||
"version": "0.27.0-rc2", | ||
"version": "0.27.1", | ||
"description": "Zemu Testing Framework", | ||
@@ -8,0 +8,0 @@ "main": "./dist/index.js", |
@@ -193,5 +193,3 @@ /** ****************************************************************************** | ||
if (elfInfo.entry !== elfCodeNanoS && | ||
elfInfo.entry !== elfCodeNanoX && | ||
elfInfo.entry !== elfCodeNanoSP) { | ||
if (elfInfo.entry !== elfCodeNanoS && elfInfo.entry !== elfCodeNanoX && elfInfo.entry !== elfCodeNanoSP) { | ||
throw new Error('Are you sure is a Nano S/S+/X app ?') | ||
@@ -413,2 +411,5 @@ } | ||
const events = await this.getEvents() | ||
this.log(events) | ||
return this.compareSnapshots(path, testcaseName, imageIndex) | ||
@@ -415,0 +416,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
2964982
2606