RunCartAdapterContractOpts
●cart · /core/contract-tests·interface
Options accepted by . Passed once per adapter under test; the suite name and factory are the only inputs the contract runner needs from the host test file.
Properties
PROPTYPEDESCRIPTION
factory
name
string
Example
runCartAdapterContract({
name: 'mock',
factory: () => createMockCartAdapter(),
});Related
MetadataOpen in GitHub ↗