enable check-types

This commit is contained in:
Simon Seyock
2021-02-03 13:32:13 +01:00
parent 57e7be0a00
commit c15faa19fc
3 changed files with 7 additions and 7 deletions

View File

@@ -63,8 +63,8 @@
/**
* Assert value is within some tolerance of a number.
* @param {Number} n Number.
* @param {Number} tol Tolerance.
* @param {number} n Number.
* @param {number} tol Tolerance.
* @return {expect.Assertion} The assertion.
*/
expect.Assertion.prototype.roughlyEqual = function (n, tol) {
@@ -455,7 +455,7 @@
* @param {ol.PluggableMap} map A map using the canvas renderer.
* @param {string} referenceImage Path to the reference image.
* @param {number} tolerance The accepted mismatch tolerance.
* @param {function} done A callback to indicate that the test is done.
* @param {Function} done A callback to indicate that the test is done.
*/
global.expectResemble = function (map, referenceImage, tolerance, done) {
map.render();