@cucumber/core
    Preparing search index...

    Interface NewTestRunHook

    Attributes for creating a new test run hook

    interface NewTestRunHook {
        fn: SupportCodeFunction;
        name?: string;
        sourceReference: SourceReference;
    }
    Index

    Properties

    The user-defined function for the hook

    name?: string

    Optional name for the hook

    sourceReference: SourceReference

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