tests: Clear events after tests ran

This commit is contained in:
WerWolv 2024-01-30 21:24:26 +01:00
parent 6b86ef3015
commit 2fd370f4ae

View file

@ -1,6 +1,9 @@
#include <hex.hpp>
#include <hex/api/event_manager.hpp>
#include <hex/helpers/utils.hpp>
#include <hex/helpers/logger.hpp>
#include <hex/test/tests.hpp>
#include <cstdlib>
@ -45,5 +48,7 @@ int main(int argc, char **argv) {
else
hex::log::info("Failed!");
hex::EventManager::clear();
return result;
}