Skip to content

Commit 5b2ebc6

Browse files
hyperpolymathclaude
andcommitted
test(abi): wire airborne step-state contract test
Adds the ABS step-state contract test runner to both \`just test\` and a dedicated \`just test-contract\` recipe, and registers the new Layout.AirborneSubmarineSquadron module in typed-wasm.ipkg so the contract's referenced types are part of the build surface. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 1df78bb commit 5b2ebc6

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

Justfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ test *args:
100100
rescript build
101101
node tests/parser/ParserTests.mjs
102102
@echo ""
103+
@echo "Running contract tests..."
104+
node tests/contracts/airborne-step-state-contract.mjs
105+
@echo ""
103106
@echo "Running Zig FFI tests..."
104107
cd ffi/zig && zig build test
105108
@echo ""
@@ -119,6 +122,11 @@ test-smoke:
119122
rescript build
120123
node tests/smoke/e2e-smoke.mjs
121124

125+
# ABI contract tests
126+
test-contract:
127+
@echo "Running ABI contract tests..."
128+
node tests/contracts/airborne-step-state-contract.mjs
129+
122130
# End-to-end test surface
123131
test-e2e:
124132
@echo "Running end-to-end tests..."

src/abi/typed-wasm.ipkg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ modules = TypedWasm.ABI.Region
2525
, Layout.Types
2626
, Layout.ABI
2727
, Layout.Stdlib
28+
, Layout.AirborneSubmarineSquadron

0 commit comments

Comments
 (0)