diff --git a/lib/charty/backends/backend_helpers/playwright_manager.rb b/lib/charty/backends/backend_helpers/playwright_manager.rb index 0a066e7b..edca3f02 100644 --- a/lib/charty/backends/backend_helpers/playwright_manager.rb +++ b/lib/charty/backends/backend_helpers/playwright_manager.rb @@ -57,10 +57,6 @@ module PlaywrightManager @_context = nil @_browser = nil end - - at_exit do - shutdown - end end end end diff --git a/test/run.rb b/test/run.rb index 029b3deb..fa6a85c1 100755 --- a/test/run.rb +++ b/test/run.rb @@ -16,13 +16,4 @@ require_relative "helper" -result = Test::Unit::AutoRunner.run(true, test_dir.to_s) - -if defined? Charty::Backends::BackendHelpers::PlaywrightManager - require "timeout" - Timeout.timeout(60) do - Charty::Backends::BackendHelpers::PlaywrightManager.shutdown - end -end - -exit(result) +exit(Test::Unit::AutoRunner.run(true, test_dir.to_s))