From ebf3c14e19f58c7f5ee874b3372513a516379a47 Mon Sep 17 00:00:00 2001 From: Stefan Kaes Date: Fri, 16 Aug 2024 14:10:50 +0200 Subject: [PATCH] only load pride test plugin if stdout is a terminal --- test/test_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_helper.rb b/test/test_helper.rb index 7d5a472..f2be6d9 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,6 +1,6 @@ require 'minitest' require 'mocha/minitest' -require 'minitest/pride' +require 'minitest/pride' if $stdout.tty? require 'minitest/autorun' require 'active_support/testing/declarative'