def METHOD_NAME():
    """
    Given: Some markdown file with lint errors
    When: Calling format on the file
    Then: The errors are fixed
    """
    with ReadMeValidator.start_mdx_server():
        readme_formatter = ReadmeFormat(INVALID_MD, assume_answer=True)
        old_content = readme_formatter.readme_content
        readme_formatter.fix_lint_markdown()
        assert old_content != readme_formatter.readme_content
        assert (
            run_markdownlint(open(INVALID_MD).read(), fix=True).fixed_text
            == readme_formatter.readme_content
        )