src/testing/transaction-service-stub.ts
Methods |
getAllTransactions |
getAllTransactions(offset: number, limit: number)
|
Defined in src/testing/transaction-service-stub.ts:8
|
Returns :
Observable<any>
|
setConversion | ||||||
setConversion(conversion: any)
|
||||||
Defined in src/testing/transaction-service-stub.ts:6
|
||||||
Parameters :
Returns :
void
|
setTransaction |
setTransaction(transaction: any, cacheSize: number)
|
Defined in src/testing/transaction-service-stub.ts:4
|
Returns :
void
|
import { Observable, of } from 'rxjs';
export class TransactionServiceStub {
setTransaction(transaction: any, cacheSize: number): void {}
setConversion(conversion: any): void {}
getAllTransactions(offset: number, limit: number): Observable<any> {
return of('Hello World');
}
}