[CST-7757] Subscriptions porting (wip)

This commit is contained in:
Rezart Vata
2021-08-16 18:42:58 +02:00
committed by Davide Negretti
parent 4915f10b0e
commit b775cd5ab0
39 changed files with 6400 additions and 8 deletions

View File

@@ -9,6 +9,9 @@ export class NotificationsServiceStub {
remove = jasmine.createSpy('remove');
removeAll = jasmine.createSpy('removeAll');
notificationWithAnchor() {
}
private getDefaultOptions(): NotificationOptions {
return new NotificationOptions();
}

View File

@@ -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';
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -25,9 +25,10 @@ import { BrowserOnlyMockPipe } from './browser-only-mock.pipe';
NgComponentOutletDirectiveStub,
BrowserOnlyMockPipe,
],
exports: [
QueryParamsDirectiveStub
],
exports: [
QueryParamsDirectiveStub,
RouterLinkDirectiveStub
],
schemas: [
CUSTOM_ELEMENTS_SCHEMA
]