|
4 | 4 |
|
5 | 5 | ```ts
|
6 | 6 |
|
7 |
| -import { ChangeDetectorRef } from '@angular/core'; |
8 |
| -import { Component } from '@angular/core'; |
9 |
| -import { ComponentRef } from '@angular/core'; |
10 |
| -import { DebugElement } from '@angular/core'; |
11 |
| -import { ɵDeferBlockBehavior as DeferBlockBehavior } from '@angular/core'; |
12 |
| -import { ɵDeferBlockState as DeferBlockState } from '@angular/core'; |
13 |
| -import { Directive } from '@angular/core'; |
14 |
| -import { ElementRef } from '@angular/core'; |
15 |
| -import { InjectionToken } from '@angular/core'; |
16 |
| -import { InjectOptions } from '@angular/core'; |
17 |
| -import { NgModule } from '@angular/core'; |
18 |
| -import { NgZone } from '@angular/core'; |
19 |
| -import { Pipe } from '@angular/core'; |
20 |
| -import { PlatformRef } from '@angular/core'; |
21 |
| -import { ProviderToken } from '@angular/core'; |
22 |
| -import { SchemaMetadata } from '@angular/core'; |
23 |
| -import { Type } from '@angular/core'; |
24 |
| -import { ɵDeferBlockDetails } from '@angular/core'; |
| 7 | +import { Observable } from 'rxjs'; |
| 8 | +import { Subject } from 'rxjs'; |
| 9 | +import { Subscription } from 'rxjs'; |
25 | 10 |
|
26 | 11 | // @public
|
27 | 12 | export const __core_private_testing_placeholder__ = "";
|
@@ -54,16 +39,26 @@ export const ComponentFixtureAutoDetect: InjectionToken<boolean>;
|
54 | 39 | // @public (undocumented)
|
55 | 40 | export const ComponentFixtureNoNgZone: InjectionToken<boolean>;
|
56 | 41 |
|
57 |
| -export { DeferBlockBehavior } |
| 42 | +// @public |
| 43 | +export enum DeferBlockBehavior { |
| 44 | + Manual = 0, |
| 45 | + Playthrough = 1 |
| 46 | +} |
58 | 47 |
|
59 | 48 | // @public
|
60 | 49 | export class DeferBlockFixture {
|
61 |
| - constructor(block: ɵDeferBlockDetails, componentFixture: ComponentFixture<unknown>); |
| 50 | + constructor(block: DeferBlockDetails, componentFixture: ComponentFixture<unknown>); |
62 | 51 | getDeferBlocks(): Promise<DeferBlockFixture[]>;
|
63 | 52 | render(state: DeferBlockState): Promise<void>;
|
64 | 53 | }
|
65 | 54 |
|
66 |
| -export { DeferBlockState } |
| 55 | +// @public |
| 56 | +export enum DeferBlockState { |
| 57 | + Complete = 2, |
| 58 | + Error = 3, |
| 59 | + Loading = 1, |
| 60 | + Placeholder = 0 |
| 61 | +} |
67 | 62 |
|
68 | 63 | // @public
|
69 | 64 | export function discardPeriodicTasks(): void;
|
|
0 commit comments