Sha256: 0238f3575b6bc81c1fa62c01c7148be6dfbc070a6f364c33c3847bfdc423cab2
Contents?: true
Size: 729 Bytes
Versions: 4
Compression:
Stored size: 729 Bytes
Contents
require 'minitest' def Minitest.run args = [] # PORT: removed #self.load_plugins options = process_args args reporter = Minitest::CompositeReporter.new reporter << Minitest::SummaryReporter.new(options[:io], options) reporter << Minitest::ProgressReporter.new(options[:io], options) self.reporter = reporter # this makes it available to plugins # PORT: removed #self.init_plugins options self.reporter = nil # runnables shouldn't depend on the reporter, ever reporter.start __run reporter, options # PORT: removed #self.parallel_executor.shutdown reporter.report # PORT: modified reporter.passed? # `window.OPAL_TEST_EXIT_STATUS = #{reporter.passed?}` end at_exit { exit Minitest.run }
Version data entries
4 entries across 4 versions & 1 rubygems