Files
Kristiyan Kostadinov 0b6018b755 build: update to latest dev infra code (#56128)
Updates the repo to the latest dev infra code which involves updating a patch and renaming all the golden files to end with `.api.md`.

PR Close #56128
2024-05-28 14:42:31 +02:00

1.5 KiB

API Report File for "@angular/router_testing"

Do not edit this file. It is a report generated by API Extractor.


import { ComponentFixture } from '@angular/core/testing';
import { DebugElement } from '@angular/core';
import { ExtraOptions } from '@angular/router';
import * as i0 from '@angular/core';
import * as i1 from '@angular/router';
import { ModuleWithProviders } from '@angular/core';
import { Routes } from '@angular/router';
import { Type } from '@angular/core';

// @public
export class RouterTestingHarness {
    static create(initialUrl?: string): Promise<RouterTestingHarness>;
    detectChanges(): void;
    readonly fixture: ComponentFixture<unknown>;
    navigateByUrl(url: string): Promise<null | {}>;
    navigateByUrl<T>(url: string, requiredRoutedComponentType: Type<T>): Promise<T>;
    get routeDebugElement(): DebugElement | null;
    get routeNativeElement(): HTMLElement | null;
}

// @public @deprecated
export class RouterTestingModule {
    // (undocumented)
    static withRoutes(routes: Routes, config?: ExtraOptions): ModuleWithProviders<RouterTestingModule>;
    // (undocumented)
    static ɵfac: i0.ɵɵFactoryDeclaration<RouterTestingModule, never>;
    // (undocumented)
    static ɵinj: i0.ɵɵInjectorDeclaration<RouterTestingModule>;
    // (undocumented)
    static ɵmod: i0.ɵɵNgModuleDeclaration<RouterTestingModule, never, never, [typeof i1.RouterModule]>;
}

// (No @packageDocumentation comment for this package)