DEV: Fix turbo_rspec formatters by sending real 'Start' notification (#26487)

This commit is contained in:
David Taylor 2024-04-03 13:27:39 +01:00 committed by GitHub
parent 8098876bfa
commit ff6cb1bc05
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@ module TurboTests
) )
def start(*args) def start(*args)
super(*args)
output.puts "::group:: Verbose turbo_spec output" if ENV["GITHUB_ACTIONS"] output.puts "::group:: Verbose turbo_spec output" if ENV["GITHUB_ACTIONS"]
end end

View File

@ -49,7 +49,7 @@ module TurboTests
end end
def start def start
delegate_to_formatters(:start, RSpec::Core::Notifications::NullNotification) delegate_to_formatters(:start, RSpec::Core::Notifications::StartNotification.new)
end end
def example_passed(example) def example_passed(example)