gridfinder
Advanced tools
Comparing version 1.63.0 to 1.64.0
@@ -40,2 +40,6 @@ import * as gridfinder from "./lib.js"; | ||
}, | ||
"sewers.jpg": { | ||
width: 140, | ||
timeout: 5, // Big map. | ||
}, | ||
"spaceship-main-blur.jpg": { | ||
@@ -67,4 +71,4 @@ width: 10.66, | ||
// }, | ||
}).forEach(function run([map, cfg]) { | ||
it(map, async () => { | ||
}).forEach(([map, cfg]) => { | ||
it(map, async function() { | ||
let { | ||
@@ -82,4 +86,8 @@ width, | ||
offYTolerance=offTolerance, | ||
timeout=1, | ||
} = cfg; | ||
this.timeout(timeout * 1000); | ||
let img = await canvas.loadImage(`maps/${map}`); | ||
@@ -86,0 +94,0 @@ |
{ | ||
"name": "gridfinder", | ||
"version": "1.63.0", | ||
"version": "1.64.0", | ||
"license": "Apache 2.0", | ||
@@ -5,0 +5,0 @@ "homepage": "https://gridfinder.kevincox.ca", |
31174
1086