mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-14 21:43:04 +00:00
Improved testing of search-results-component
This commit is contained in:
10
src/app/shared/testing/query-params-directive-stub.ts
Normal file
10
src/app/shared/testing/query-params-directive-stub.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { Directive, Input } from '@angular/core';
|
||||
|
||||
/* tslint:disable:directive-class-suffix */
|
||||
@Directive({
|
||||
// tslint:disable-next-line:directive-selector
|
||||
selector: '[queryParams]',
|
||||
})
|
||||
export class QueryParamsDirectiveStub {
|
||||
@Input('queryParams') queryParams: any;
|
||||
}
|
Reference in New Issue
Block a user