jest-metadata
Version:
🦸♂️ Superhero power for your Jest reporters! 🦸♀️
16 lines (15 loc) • 780 B
TypeScript
import type { AggregatedIdentifier } from '../ids';
import * as symbols from '../symbols';
import type { HookType } from '../types';
import { BaseMetadata } from './BaseMetadata';
import type { DescribeBlockMetadata } from './DescribeBlockMetadata';
import type { HookInvocationMetadata } from './HookInvocationMetadata';
import type { MetadataContext } from './MetadataContext';
export declare class HookDefinitionMetadata extends BaseMetadata {
readonly describeBlock: DescribeBlockMetadata;
readonly hookType: HookType;
invocations: HookInvocationMetadata[];
constructor(context: MetadataContext, describeBlock: DescribeBlockMetadata, id: AggregatedIdentifier, hookType: HookType);
[symbols.start](): HookInvocationMetadata;
[symbols.finish](): void;
}