async def METHOD_NAME() -> None:
    """Test that we can wait for current and scheduled animations."""
    app = AnimApp()
    async with app.run_test() as pilot:
        styles = app.query_one(Static).styles
        start = perf_counter()
        styles.animate("height", 50, duration=0.01)
        styles.animate("background", "black", duration=0.01, delay=0.05)
        await pilot.wait_for_scheduled_animations()
        elapsed = perf_counter() - start
        assert elapsed >= 0.06
        assert styles.background.rgb == (0, 0, 0)