Function parseMarkdownTests

  • Read the markdown file and extract the code blocks for testing.

    Parameters

    • markdownPath: string

      Path to the markdown file.

    • cliInstance: default

      An instance of the CLI class that has the methods to be tested.

    Returns CommandAndResponse[]

    Array of test data including commands and expected responses.

Generated using TypeDoc