mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 19:17:10 +00:00
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:
1 parent
c12a3e242f
commit
0c775c199d
3 files changed
+47
-6
No files matched your search
@@ -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,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user