We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2333d08 commit dc61ed7Copy full SHA for dc61ed7
1 file changed
src/webapp/src/app/app.component.spec.ts
@@ -1,7 +1,14 @@
1
import { TestBed } 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
+ await TestBed.configureTestingModule({
8
+ imports: [AppComponent, RouterTestingModule],
9
+ }).compileComponents();
10
+ });
11
+
12
it('should create the app', () => {
13
const fixture = TestBed.createComponent(AppComponent);
14
const app = fixture.componentInstance;
0 commit comments