@cucumber/node
    Preparing search index...

    Function Given

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

      Parameters

      • pattern: string | RegExp

        a Cucumber Expression or regular 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
      })