117648: Add tests for basic MenuProviders

This commit is contained in:
Nona Luypaert
2024-09-06 16:55:25 +02:00
parent 0291942613
commit 5e24ed1fb6
17 changed files with 1056 additions and 2 deletions

View File

@@ -0,0 +1,18 @@
/**
* 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);
}
}