Files
dspace-angular/src/app/shared/testing/script-service.stub.ts
2024-09-06 16:55:25 +02:00

19 lines
475 B
TypeScript

/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
import { Observable, of as observableOf } from 'rxjs';
/**
* Stub class of {@link ScriptDataService}.
*/
export class ScriptServiceStub {
scriptWithNameExistsAndCanExecute(scriptName: string): Observable<boolean> {
return observableOf(true);
}
}