This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit 9530303c authored by Michael Breu's avatar Michael Breu :speech_balloon:
Browse files

Just testing the file-hook

parent 93b919bd
2 merge requests!188Merging Peer Reviewing et. al to Master,!164211 peer reviewing functionality
......@@ -5,6 +5,7 @@ import { Router, RouterEvent, NavigationEnd, NavigationStart } from '@angular/ro
import { Title } from '@angular/platform-browser';
import { Subject, of } from 'rxjs';
import { TranslateModule, TranslateService, LangChangeEvent } from '@ngx-translate/core';
import { AuthServerProvider } from 'app/core/auth/auth-jwt.service';
import { AccountService } from 'app/core/auth/account.service';
......@@ -13,6 +14,7 @@ import { MainComponent } from './main.component';
describe('MainComponent', () => {
let comp: MainComponent;
let fixture: ComponentFixture<MainComponent>;
let authService: AuthServerProvider;
let titleService: Title;
let translateService: TranslateService;
let mockAccountService: AccountService;
......@@ -47,6 +49,7 @@ describe('MainComponent', () => {
comp = fixture.componentInstance;
titleService = TestBed.inject(Title);
translateService = TestBed.inject(TranslateService);
authService = TestBed.inject(AuthServerProvider);
mockAccountService = TestBed.inject(AccountService);
mockAccountService.identity = jest.fn(() => of(null));
mockAccountService.getAuthenticationState = jest.fn(() => of(null));
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment