You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Converts deterministic entries from `test_ffi_surface_stdlib_integrations.ts`
into focused behavioral parity fixtures, per the follow-up to #694.
- `test_parity_argon2.ts` + expected output: round-trip `argon2.hash` /
`argon2.verify` (async path — the only one wired in the dispatch
table) with random-salt shape assertions.
- `test_parity_ethers.ts` + expected output: deterministic helpers
`getAddress`, `parseEther`/`formatEther`, `parseUnits`/`formatUnits`.
- Adds `@covers` block to `test_parity_crypto.ts` for the
crypto/webcrypto/crypto_e2e FFI surface it already exercises (digest,
hash, hmac-via-pbkdf2/hkdf, subtle.sign/verify).
Both new fixtures use the `test-parity/expected/` mechanism: Perry routes
the npm-style imports to its bundled `perry-ext-*` wrappers, but Node
can't load the same names without `node_modules`, so they fall through
to the stored expected-output comparison.
After `./test-coverage/regen_ts_surface_inventory.py`:
- stdlib integrations inventory: 156 → 138 unique FFI names.
- `./test-coverage/audit.sh --markdown` still reports 100% TS FFI coverage.
0 commit comments