From 7b5b08bf6ac8cc0a897e04f84008b2b8b95c7464 Mon Sep 17 00:00:00 2001 From: Norman Breau Date: Mon, 15 Feb 2021 11:01:40 -0400 Subject: [PATCH] tests: Fix iOS tests --- tests/tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tests.js b/tests/tests.js index a9ae20aa7..a5f780664 100644 --- a/tests/tests.js +++ b/tests/tests.js @@ -3698,7 +3698,7 @@ exports.defineAutoTests = function () { var img = new Image(); // eslint-disable-line no-undef img.onerror = function (err) { - expect(err).not.toBeDefined(); + expect(err).withContext(err.toString()).not.toBeDefined(); done(); }; img.onload = function () {