@cucumber/node
    Preparing search index...

    Function Given

    • Define a step to be used with the "Given" 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

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