@storybook/addon-storyshots
Version:
Take a code snapshot of every story automatically with Jest
11 lines (10 loc) • 434 B
TypeScript
declare function getRenderedTree(story: any): Promise<{
componentInstance: {};
componentRef: import("@angular/core").ComponentRef<any>;
ngZone: import("@angular/core").NgZone | null;
debugElement: import("@angular/core").DebugElement;
nativeElement: any;
elementRef: import("@angular/core").ElementRef<any>;
changeDetectorRef: import("@angular/core").ChangeDetectorRef;
}>;
export default getRenderedTree;