@cucumber/node
    Preparing search index...

    Function Then

    • Define a step to be used with the "Then" keyword

      Parameters

      • text: string

        a Cucumber Expression used to match the step with steps from Gherkin

      • fn: StepFunction

        the function to be executed

      Returns void

      Then('I have {int} cukes in my belly', async (t, count) => {
      // do stuff here
      })