feat(folio-ios): add test-ios justfile recipe

This commit is contained in:
pj committed 2026-04-23 15:06:19 +07:00
1 parent 34803a082b
commit 458e16d0e5
1 file changed
+18
+18
View File
@@ -97,3 +97,21 @@ test:
--duration "{{duration}}" \
--seed "{{seed}}" \
--output "{{output}}"
# Build + install + run sanderling spec on iOS simulator.
test-ios:
#!/usr/bin/env bash
set -euo pipefail
just ios
ios_device_flag=()
if [[ -n "{{ios_device}}" ]]; then
ios_device_flag=(--ios-device "{{ios_device}}")
fi
"{{sanderling}}" test \
--platform ios \
--spec "{{justfile_directory()}}/sanderling/spec.ts" \
--bundle-id app.folio \
"${ios_device_flag[@]}" \
--duration "{{duration}}" \
--seed "{{seed}}" \
--output "{{output}}"