@cucumber/core
    Preparing search index...

    Type Alias PreparedStep

    A step that has been validated and prepared for execution

    Depending on the characteristics of the Cucumber implementation, the function may be called in a different way and with the args positioned differently.

    type PreparedStep = {
        args: ReadonlyArray<Argument>;
        dataTable?: PickleTable;
        docString?: PickleDocString;
        fn: SupportCodeFunction;
        type: "prepared";
    }
    Index

    Properties

    args: ReadonlyArray<Argument>

    The arguments to pass to the step, as cucumber-expressions argument objects

    dataTable?: PickleTable

    The data table to pass to the step, if there is one

    Use DataTable.from to turn this into a user-friendly object

    docString?: PickleDocString

    The doc string to pass to the step, if there is one

    The user-authored function to be executed for this step

    type: "prepared"

    Discriminator field to identify this as a prepared step