We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db7972a commit ea13d6dCopy full SHA for ea13d6d
src/app/app.component.spec.ts
@@ -1,13 +1,18 @@
1
import { TestBed, async } from '@angular/core/testing';
2
-
+import { RouterTestingModule } from '@angular/router/testing';
3
import { AppComponent } from './app.component';
4
+import { ElectronService } from 'app/providers/electron.service';
5
6
describe('AppComponent', () => {
7
beforeEach(async(() => {
8
TestBed.configureTestingModule({
9
declarations: [
10
AppComponent
11
],
12
+ providers : [
13
+ ElectronService
14
+ ],
15
+ imports: [RouterTestingModule]
16
}).compileComponents();
17
}));
18
0 commit comments