testing/cross_backend/rpc_success_fixtures.ts view source
(options?: SpineRpcSuccessFixturesOptions): RpcSuccessFixtures import {create_spine_rpc_success_fixtures} from '@fuzdev/fuz_app/testing/cross_backend/rpc_success_fixtures.js'; Build the success-fixture map for the standard spine methods that need a
real row id: account_token_revoke, account_session_revoke,
invite_delete, role_grant_revoke, role_grant_offer_accept,
role_grant_offer_decline, and role_grant_offer_retract.
Each factory mints fresh accounts — a fresh ROLE_ADMIN holder as grantor where the setup step is admin-gated — and builds its row as a real client would, then returns the headers of the account that calls: the owner for token and session revoke, accept, decline, and retract; the fresh admin for invite delete and role grant revoke.
options?
the RPC endpoint path
{}returns
RpcSuccessFixtures the method → fixture-factory map