feat(examples): add sample-app spec

Introduce examples/sample-app/spec.ts — a minimal property-based spec that
taps the sample app's "Click me" button and asserts click_count is
monotonic. Bundle-check and the trace writer test now reference the new
path.
This commit is contained in:
pj committed 2026-04-18 10:33:35 +07:00
1 parent c12a3e242f
commit 0c775c199d
3 files changed
+47 -6

No files matched your search

+1 -5
View File
@@ -17,11 +17,7 @@ func main() {
specApiPath := filepath.Join(repoRoot, "pkg/spec-api/src/index.ts")
result, err := bundler.Bundle(bundler.Options{
EntryFile: "examples/specs/merchant-ledger.ts",
Defines: map[string]string{
"UATU_TEST_PHONE": "+910000000000",
"UATU_TEST_OTP": "000000",
},
EntryFile: "examples/sample-app/spec.ts",
Aliases: map[string]string{
"@uatu/spec": specApiPath,
},