feat(js): m09 input, app, runtime, browser, main, index.html and smoke test

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
Lucas Winther
2026-10-28 23:53:09 +01:00
co-authored by Claude Sonnet 5.5
parent 584f1d4825
commit 8028bb2fc0
16 changed files with 622 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
import test from 'node:test'
import assert from 'node:assert/strict'
import { keyToAction } from '../src/input.js'
import { loadFixture } from './helpers.js'
const fx = loadFixture('m09-input')
fx.cases.forEach((c) =>
test(`m09 ${fx.function}: ${c.name}`, () => assert.deepStrictEqual(keyToAction(...c.args), c.expected)))