diff --git a/package-lock.json b/package-lock.json index c92de879..55381341 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "openseadragon", - "version": "5.0.0", + "version": "5.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "openseadragon", - "version": "5.0.0", + "version": "5.0.1", "license": "BSD-3-Clause", "devDependencies": { "eslint-plugin-compat": "^4.1.2", diff --git a/test/helpers/test.js b/test/helpers/test.js index eb860cbf..7e34babd 100644 --- a/test/helpers/test.js +++ b/test/helpers/test.js @@ -59,8 +59,8 @@ }, // ---------- - equalsWithVariance: function (actual, expected, variance) { - return Math.abs(actual - expected) <= variance; + equalsWithVariance: function (value1, value2, variance) { + return Math.abs(value1 - value2) <= variance; }, // ----------