Skip to content

Commit ea13d6d

Browse files
author
Maxime GRIS
committed
fix/ karma Unit test
1 parent db7972a commit ea13d6d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Diff for: src/app/app.component.spec.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
import { TestBed, async } from '@angular/core/testing';
2-
2+
import { RouterTestingModule } from '@angular/router/testing';
33
import { AppComponent } from './app.component';
4+
import { ElectronService } from 'app/providers/electron.service';
45

56
describe('AppComponent', () => {
67
beforeEach(async(() => {
78
TestBed.configureTestingModule({
89
declarations: [
910
AppComponent
1011
],
12+
providers : [
13+
ElectronService
14+
],
15+
imports: [RouterTestingModule]
1116
}).compileComponents();
1217
}));
1318

0 commit comments

Comments
 (0)