Skip to content
This repository has been archived by the owner on Jun 11, 2020. It is now read-only.

Commit

Permalink
adding reports to git ignore and fixing the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fazanki committed Dec 11, 2018
1 parent 6493b22 commit b435e13
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ import {RouterModule} from '@angular/router';
AppComponent
],
imports: [
RouterModule,
BrowserModule.withServerTransition({appId: 'jui'}),
BrowserTransferStateModule,
RoutingModule,
RouterModule,
HttpClientModule,
SharedModule,
DomainModule,
Expand Down
2 changes: 2 additions & 0 deletions src/app/domain/components/header/header.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ import {HeaderComponent} from './header.component';
import {AuthService} from '../../../auth/auth.service';
import {HmctsGlobalHeaderComponent} from '../../../hmcts/components/hmcts-global-header/hmcts-global-header.component';
import {HmctsPrimaryNavigationComponent} from '../../../hmcts/components/hmcts-primary-navigation/hmcts-primary-navigation.component';
import {RouterTestingModule} from '@angular/router/testing';

describe('HeaderComponent', () => {
let component: HeaderComponent;
let fixture: ComponentFixture<HeaderComponent>;

beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [RouterTestingModule],
declarations: [HeaderComponent, HmctsGlobalHeaderComponent, HmctsPrimaryNavigationComponent],
providers: [
{ provide: AuthService, useValue: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';

import { HmctsPrimaryNavigationComponent } from './hmcts-primary-navigation.component';
import {RouterTestingModule} from '@angular/router/testing';

describe('HmctsPrimaryNavigationComponent', () => {
let component: HmctsPrimaryNavigationComponent;
let fixture: ComponentFixture<HmctsPrimaryNavigationComponent>;

beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ HmctsPrimaryNavigationComponent ]
imports: [RouterTestingModule],
declarations: [ HmctsPrimaryNavigationComponent ]
})
.compileComponents();
}));
Expand Down

0 comments on commit b435e13

Please sign in to comment.