def test_validate_none_bun_path(mocker: MockerFixture):
    """Test that an error is thrown when a bun path is not specified.

    Args:
        mocker: Pytest mocker object.
    """
    mocker.patch("reflex.utils.path_ops.get_bun_path", return_value=None)
    # with pytest.raises(click.exceptions.Exit):
    prerequisites.validate_bun()
Test that an error is thrown when a bun path is not specified.

    Args:
        mocker: Pytest mocker object.
    
tests/units/utils/test_utils.py