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
test(client): assert factory call count for direct consume, abort, and 303
Lock in the reproducibility contracts that were previously only asserted in prose:
- factoryInvokedOnceOnDirectConsumption: direct consumption (no retry/redirect
decorator) subscribes the lazy delegate and runs the factory exactly once.
- abortBeforeSubscriptionInvokesFactoryOnce: aborting a never-sent request runs
the factory exactly once to release the produced body, and never regenerates.
- seeOtherRedirectDropsBody now asserts the factory is called exactly once: the
303 hop drops the body (aborting the duplicator) instead of regenerating it,
addressing the missing-assertion review note.
Co-authored-by: Isaac
0 commit comments