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:
co-authored by
Claude Sonnet 5.5
parent
584f1d4825
commit
8028bb2fc0
@@ -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)))
|
||||
Reference in New Issue
Block a user