Skip to content

Commit 5f86233

Browse files
authored
Merge pull request #17 from rubyists/suppress-logs-in-tests
chore: suppress tests from logging for clearer failures
2 parents b6192d2 + eaff8ca commit 5f86233

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/helper.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,7 @@
1414

1515
require 'minitest/autorun'
1616
require_relative '../lib/leopard'
17+
18+
# Suppress logs when running tests
19+
require 'semantic_logger'
20+
SemanticLogger.default_level = :fatal

0 commit comments

Comments
 (0)