mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 07:23:03 +00:00
angular cli
This commit is contained in:
9
src/app/shared/testing/hal-endpoint-service.stub.ts
Normal file
9
src/app/shared/testing/hal-endpoint-service.stub.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { of as observableOf } from 'rxjs';
|
||||
|
||||
export class HalEndpointServiceStub {
|
||||
|
||||
constructor(private url: string) {};
|
||||
getEndpoint(path: string) {
|
||||
return observableOf(this.url + '/' + path);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user