feat(spec): add defaultActions bundle

This commit is contained in:
pj committed 2026-05-25 18:13:36 +05:30
1 parent 9ca16e7627
commit c8528af12b
2 files changed
+16

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
import { pressKey, swipes, taps, typing, weighted } from "../actions.ts";
import type { ActionGenerator } from "../types.ts";
export { pressKey, swipes, taps, typing, waitOnce } from "../actions.ts";
// A broad exploration generator: tap things, type edge-case values into fields,
// swipe, and occasionally press back. Layer it under targeted depth flows so the
// fuzzer wanders the whole app while still driving the paths an author wrote.
export const defaultActions: ActionGenerator = weighted(
[50, taps],
[30, typing],
[10, swipes],
[10, pressKey],
);
+2
View File
@@ -0,0 +1,2 @@
export * from "./properties.ts";
export * from "./actions.ts";