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