This builder should not be constructed directly. Call mockNode.forAdd() or
mockNode.forAddIncluding(content) instead.
Return a successful result, as if the content was published to IPFS, and returning a given fixed mock CID
value, array of values, or full array of { Name, Hash, Size } results.
This method completes the rule definition, and returns a promise that resolves once the rule is active.
Generated using TypeDoc
A builder to allow defining rules that will mock IPFS add requests.