
> rora@1.0.0 test
> tsx --test tests/*.test.ts

TAP version 13
# Subtest: model output cannot substitute another tool or authorize incomplete responses
ok 1 - model output cannot substitute another tool or authorize incomplete responses
  ---
  duration_ms: 6.012125
  type: 'test'
  ...
# (node:7940) ExperimentalWarning: SQLite is an experimental feature and might change at any time
# (Use `node --trace-warnings ...` to show where the warning was created)
# Subtest: domain migration preserves legacy owner, scopes sessions and rejects cross-origin writes
ok 2 - domain migration preserves legacy owner, scopes sessions and rejects cross-origin writes
  ---
  duration_ms: 22.842959
  type: 'test'
  ...
# Subtest: same invoice and exact units share identity across request IDs and whitespace
ok 3 - same invoice and exact units share identity across request IDs and whitespace
  ---
  duration_ms: 4.058083
  type: 'test'
  ...
# (node:7942) ExperimentalWarning: SQLite is an experimental feature and might change at any time
# (Use `node --trace-warnings ...` to show where the warning was created)
# Subtest: persistent invoice dedupe crosses request UUIDs; rejected requests permit explicit retry
ok 4 - persistent invoice dedupe crosses request UUIDs; rejected requests permit explicit retry
  ---
  duration_ms: 9.836916
  type: 'test'
  ...
# Subtest: exact integer token amounts and valid transfers
ok 5 - exact integer token amounts and valid transfers
  ---
  duration_ms: 9.202541
  type: 'test'
  ...
# Subtest: 200 adversarial plans fail closed at the validator
ok 6 - 200 adversarial plans fail closed at the validator
  ---
  duration_ms: 6.6695
  type: 'test'
  ...
# Subtest: chain, expiry, revocation, recipient, count, cumulative budget
ok 7 - chain, expiry, revocation, recipient, count, cumulative budget
  ---
  duration_ms: 0.258625
  type: 'test'
  ...
# Subtest: a hash is not proof: altered events, signer, target, chain and failed receipts fail verification
ok 8 - a hash is not proof: altered events, signer, target, chain and failed receipts fail verification
  ---
  duration_ms: 0.436042
  type: 'test'
  ...
# Subtest: rehearsal projects exact shared balance and exposes independent failures
ok 9 - rehearsal projects exact shared balance and exposes independent failures
  ---
  duration_ms: 3.247166
  type: 'test'
  ...
# This version of µWS is not compatible with your Node.js build:
# Error: Cannot find module '../binaries/uws_darwin_arm64_127.node'
# Require stack:
# - /Users/roman/Downloads/RORA/node_modules/ganache/node_modules/@trufflesuite/uws-js-unofficial/src/uws.js
# - /Users/roman/Downloads/RORA/node_modules/ganache/dist/node/core.js
# Falling back to a NodeJS implementation; performance may be degraded.
# Subtest: shared on-chain budget, direct bypass, replay and owner revocation
ok 10 - shared on-chain budget, direct bypass, replay and owner revocation
  ---
  duration_ms: 715.796625
  type: 'test'
  ...
# Subtest: expiry, count limit, recipient epoch and unauthorized withdrawal
ok 11 - expiry, count limit, recipient epoch and unauthorized withdrawal
  ---
  duration_ms: 515.160583
  type: 'test'
  ...
# Subtest: competing payments cannot multiply the shared budget
ok 12 - competing payments cannot multiply the shared budget
  ---
  duration_ms: 168.554875
  type: 'test'
  ...
1..12
# tests 12
# suites 0
# pass 12
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 2992.165292
