@cucumber/core
    Preparing search index...

    Type Alias DefinedTestRunHook

    A test run hook that has been defined and is available for execution

    type DefinedTestRunHook = {
        fn: SupportCodeFunction;
        id: string;
        name?: string;
        order: number;
        sourceReference: SourceReference;
        toMessage(): Hook;
    }
    Index

    Properties

    The user-defined function for the hook

    id: string

    A unique identifier for the hook

    name?: string

    The name of the hook, if defined

    order: number

    The number of this hook in the definition-ordered sequence of support code

    sourceReference: SourceReference

    A reference to the source code of the user-defined function

    Methods

    • Creates a Cucumber Message representing this hook

      Returns Hook