mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-03 19:47:10 +00:00
test(cmd): smoke-test bundle-check resolves spec aliases
This commit is contained in:
1 parent
da9455cd5a
commit
3197e64562
2 files changed
+69
No files matched your search
@@ -0,0 +1,12 @@
|
||||
import { Tap, actions } from "@sanderling/spec";
|
||||
import { noUncaughtExceptions } from "@sanderling/spec/defaults/properties";
|
||||
import * as defaults from "@sanderling/spec/defaults";
|
||||
|
||||
const tapPrimary = actions((state) => {
|
||||
const button = state.ax.find("desc:primary");
|
||||
return button ? [Tap({ on: button })] : [];
|
||||
});
|
||||
|
||||
export const properties = { noUncaughtExceptions };
|
||||
export const actionsRoot = tapPrimary;
|
||||
export const defaultsKeys = Object.keys(defaults);
|
||||
Reference in new issue
Block a user