1
0
Files
yel-dspace-angular/src/app/shared/testing/hal-endpoint-service-stub.ts
Lotte Hofstede a232127422 fixed some tests
2018-04-04 14:25:57 +02:00

12 lines
334 B
TypeScript

import { Observable } from 'rxjs/Observable';
import { ViewMode } from '../../+search-page/search-options.model';
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
export class HALEndpointServiceStub {
constructor(private url: string) {};
getEndpoint(path: string) {
return Observable.of(this.url + '/' + path);
}
}