mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 15:33:04 +00:00
[CST-7757] Subscriptions porting (wip)
This commit is contained in:

committed by
Davide Negretti

parent
4915f10b0e
commit
b775cd5ab0
@@ -9,6 +9,9 @@ export class NotificationsServiceStub {
|
||||
remove = jasmine.createSpy('remove');
|
||||
removeAll = jasmine.createSpy('removeAll');
|
||||
|
||||
notificationWithAnchor() {
|
||||
}
|
||||
|
||||
private getDefaultOptions(): NotificationOptions {
|
||||
return new NotificationOptions();
|
||||
}
|
||||
|
@@ -9,4 +9,10 @@ export class RouterStub {
|
||||
navigateByUrl(url): void {
|
||||
this.url = url;
|
||||
}
|
||||
createUrlTree(commands, navigationExtras = {}) {
|
||||
return '/testing-url';
|
||||
}
|
||||
serializeUrl(commands, navExtras = {}) {
|
||||
return '/testing-url';
|
||||
}
|
||||
}
|
||||
|
4467
src/app/shared/testing/subscriptions-data.mock.ts
Normal file
4467
src/app/shared/testing/subscriptions-data.mock.ts
Normal file
File diff suppressed because it is too large
Load Diff
@@ -25,9 +25,10 @@ import { BrowserOnlyMockPipe } from './browser-only-mock.pipe';
|
||||
NgComponentOutletDirectiveStub,
|
||||
BrowserOnlyMockPipe,
|
||||
],
|
||||
exports: [
|
||||
QueryParamsDirectiveStub
|
||||
],
|
||||
exports: [
|
||||
QueryParamsDirectiveStub,
|
||||
RouterLinkDirectiveStub
|
||||
],
|
||||
schemas: [
|
||||
CUSTOM_ELEMENTS_SCHEMA
|
||||
]
|
||||
|
Reference in New Issue
Block a user