updated @angular/cdk

This commit is contained in:
Samuel Philipp 2020-11-27 19:07:12 +01:00
parent 0092a84ba9
commit 494371a01d
4 changed files with 20 additions and 19 deletions

View file

@ -9,8 +9,9 @@ const routes: Routes = [{
@NgModule({
imports: [RouterModule.forRoot(routes, {
initialNavigation: 'enabled'
})],
initialNavigation: 'enabled',
relativeLinkResolution: 'legacy'
})],
exports: [RouterModule]
})
export class AppRoutingModule {

View file

@ -1,9 +1,9 @@
import { TestBed, async } from '@angular/core/testing';
import { TestBed, waitForAsync } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { AppComponent } from './app.component';
describe('AppComponent', () => {
beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [
RouterTestingModule

View file

@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { StatusComponent } from './status.component';
@ -6,7 +6,7 @@ describe('StatusComponent', () => {
let component: StatusComponent;
let fixture: ComponentFixture<StatusComponent>;
beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ StatusComponent ]
})