Skip to content

Commit

Permalink
Revert unnecessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
comandeo-mongo committed Oct 22, 2024
1 parent 1ab3409 commit 2e217f2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions spec/lite_spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@ def example_timeout_seconds
config.add_formatter(RSpec::Core::Formatters::JsonFormatter, File.join(File.dirname(__FILE__), '../tmp/rspec.json'))
end

# if SpecConfig.instance.ci? && !%w(1 true yes).include?(ENV['INTERACTIVE']&.downcase)
# config.around(:each) do |example|
# TimeoutInterrupt.timeout(example_timeout_seconds) do
# example.run
# end
# end
# end
if SpecConfig.instance.ci? && !%w(1 true yes).include?(ENV['INTERACTIVE']&.downcase)
config.around(:each) do |example|
TimeoutInterrupt.timeout(example_timeout_seconds) do
example.run
end
end
end

def local_env(env = nil, &block)
around do |example|
Expand Down

0 comments on commit 2e217f2

Please sign in to comment.