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