import { DaffCartStoreCreditTestingDriver } from '@daffodil/cart-store-credit/driver/testing'
A basic cart driver that creates mock cart results of different kinds. For testing purposes.
@Injectable()
class DaffCartStoreCreditTestingDriver implements DaffCartStoreCreditDriverInterface {
apply(): Observable<DaffCartWithStoreCredit>
remove(): Observable<DaffCartWithStoreCredit>
}
Observable<DaffCartWithStoreCredit>
Apply store credit to the cart.
Observable<DaffCartWithStoreCredit>
Remove store credit from the cart.