fix(js): keep test/helpers.js free of src imports

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas Winther
2026-10-29 00:03:01 +01:00
co-authored by Claude Sonnet 5.5
parent 59bece5443
commit 045029639e
5 changed files with 13 additions and 8 deletions
+6
View File
@@ -0,0 +1,6 @@
import { states, classicActions, render } from '../src/app.js'
import { map as mapStream } from '../src/stream.js'
import { map as mapIO, randomSeed } from '../src/io.js'
/** The m09 program built from classicActions (ticks every 150 ms). The shipped `main` switches to speedActions in m10. */
export const classicMain = mapIO(randomSeed, (seed) => mapStream(states(seed, classicActions), render))