🚀 improve svg generation

This commit is contained in:
platane
2020-11-04 09:17:19 +01:00
parent 24e7a1ceec
commit 817362d1dd
5 changed files with 79 additions and 50 deletions

View File

@@ -24,7 +24,7 @@ try {
} catch (err) {}
for (const [key, grid] of Object.entries(grids))
it(`should generate ${key} gif`, () => {
it(`should generate ${key} svg`, () => {
const chain = [snake, ...getBestRoute(grid, snake)!];
const gif = createSvg(grid, chain, drawOptions, gifOptions);