mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-19 13:11:18 -08:00
Pin Math.random in the Activities logic tests so a rare roll cannot fail one at random
AI Assisted
This commit is contained in:
1 parent
23ac3a9c19
commit
e87148ad10
43 files changed
+59
No files matched your search
@@ -5,6 +5,7 @@
|
||||
// and records every point it draws through, as in
|
||||
// scripts/test-web-console-activities-rapids.mjs.
|
||||
|
||||
import "./seed-random.mjs";
|
||||
import test from "node:test";
|
||||
import assert from "node:assert/strict";
|
||||
import { CAR_STYLES, MARGINS, STYLE_NAMES, carLength, carReach, drawCarBody, drawCarShadow, rgbOf, shade, styleOf } from "../src/web-console/public/activities/bounce-cars.js";
|
||||
|
||||
Reference in new issue
Block a user