🚀 demo + spring

This commit is contained in:
platane
2020-10-08 19:29:04 +02:00
committed by Platane
parent 16a47349be
commit bb0750e8ba
9 changed files with 208 additions and 49 deletions

View File

@@ -5,6 +5,8 @@ import { getBestRoute } from "@snk/compute/getBestRoute";
import * as grids from "@snk/compute/__fixtures__/grid";
import { snake3 as snake } from "@snk/compute/__fixtures__/snake";
jest.setTimeout(20 * 1000);
const drawOptions = {
sizeBorderRadius: 2,
sizeCell: 16,
@@ -15,7 +17,7 @@ const drawOptions = {
colorSnake: "purple",
};
const gifOptions = { delay: 18 };
const gifOptions = { frameDuration: 20, step: 1 };
const dir = path.resolve(__dirname, "__snapshots__");