diff --git a/tests/UI_button.cpp b/tests/UI_button.cpp index f5046b0..c512841 100644 --- a/tests/UI_button.cpp +++ b/tests/UI_button.cpp @@ -21,4 +21,5 @@ TEST(UI_button, on_click) { UI_button button("button_id", "button_text", Color(255, 255, 255), Color(0, 0, 0), on_click); button.click(); + std::this_thread::sleep_for(std::chrono::milliseconds(1)); } \ No newline at end of file