Skip to content

Commit

Permalink
Add router testing module on tutorials tests
Browse files Browse the repository at this point in the history
  • Loading branch information
brunolm committed Nov 24, 2017
1 parent ed662a5 commit e69ca7d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/tutorials/tutorials.component.spec.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';

import { TutorialsComponent } from './tutorials.component';
import { RouterTestingModule } from '@angular/router/testing';

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

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

0 comments on commit e69ca7d

Please sign in to comment.