mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-04 03:57:09 +00:00
test(doubleTap): cover constructor, verifier round-trip, and runner dispatch
This commit is contained in:
1 parent
fb085eeaa0
commit
87834caf96
4 files changed
+71
No files matched your search
@@ -58,6 +58,7 @@ function installRuntime(initialState: State): RecordedRuntime {
|
||||
}),
|
||||
from: <T>(_items: readonly T[]): Sampler<T> => ({ generate: () => _items[0] as T }),
|
||||
tap: ({ on }) => ({ kind: "Tap", on }),
|
||||
doubleTap: ({ on }) => ({ kind: "DoubleTap", on }),
|
||||
inputText: ({ into, text }) => ({ kind: "InputText", into, text }),
|
||||
swipe: (p) => ({ kind: "Swipe", from: p.from, to: p.to, durationMillis: p.durationMillis }),
|
||||
pressKey: ({ key }) => ({ kind: "PressKey", key }),
|
||||
|
||||
Reference in new issue
Block a user