from pathlib import Path


def golden_snippet(filename: str) -> str:
    """Load the golden snippet with the name provided"""
    snippet_path = Path(__file__).parent / "golden_snippets" / filename
    return snippet_path.read_text()