fix/ karma Unit test
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
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(() => {
|
||||
@@ -8,6 +9,10 @@ describe('AppComponent', () => {
|
||||
declarations: [
|
||||
AppComponent
|
||||
],
|
||||
providers : [
|
||||
ElectronService
|
||||
],
|
||||
imports: [RouterTestingModule]
|
||||
}).compileComponents();
|
||||
}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user