Skip to content

Commit

Permalink
fix/ karma Unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime GRIS committed Jun 8, 2017
1 parent db7972a commit ea13d6d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/app/app.component.spec.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
import { TestBed, async } from '@angular/core/testing';

import { RouterTestingModule } from '@angular/router/testing';
import { AppComponent } from './app.component';
import { ElectronService } from 'app/providers/electron.service';

describe('AppComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [
AppComponent
],
providers : [
ElectronService
],
imports: [RouterTestingModule]
}).compileComponents();
}));

Expand Down

0 comments on commit ea13d6d

Please sign in to comment.