def METHOD_NAME(add_job, job_cache_dir_files):
    """
    test to ensure jobs are removed from job cache
    """
    add_job()
    if salt.utils.platform.is_windows():
        time.sleep(0.01)
    # remove job
    assert local_cache.clean_old_jobs() is None
    _check_dir_files(
        "job cache was not removed: ", job_cache_dir_files, status="removed"
    )