Skip to content

Commit 7fcb879

Browse files
committed
Fix tests
1 parent 3801876 commit 7fcb879

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

web/src/app/components/shared/sign-in-page/sign-in-page.component.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,14 @@
1515
*/
1616

1717
import { NO_ERRORS_SCHEMA } from '@angular/core';
18+
import { Auth } from '@angular/fire/auth';
1819
import { ComponentFixture, TestBed } from '@angular/core/testing';
1920
import { NavigationEnd, Router } from '@angular/router';
2021
import { BehaviorSubject, NEVER, of } from 'rxjs';
2122

2223
import { AuthService } from 'app/services/auth/auth.service';
2324
import { DataStoreService } from 'app/services/data-store/data-store.service';
25+
import { NavigationService } from 'app/services/navigation/navigation.service';
2426

2527
import { SignInPageComponent } from './sign-in-page.component';
2628

@@ -41,6 +43,8 @@ describe('SignInPageComponent', () => {
4143
provide: AuthService,
4244
useValue: { getUser$: () => NEVER, isAuthenticated$: () => NEVER },
4345
},
46+
{ provide: NavigationService, useValue: { navigateToTermsOfService: () => {} } },
47+
{ provide: Auth, useValue: {} },
4448
],
4549
schemas: [NO_ERRORS_SCHEMA],
4650
}).compileComponents();

0 commit comments

Comments
 (0)