Module: Minitest

Defined in:
lib/flutter/minitest.rb,
lib/minitest/flutter_plugin.rb

Defined Under Namespace

Classes: Test

Class Method Summary collapse

Class Method Details

.plugin_flutter_init(options) ⇒ Object



9
10
11
12
13
14
# File 'lib/minitest/flutter_plugin.rb', line 9

def plugin_flutter_init(options)
  if Flutter.enabled
    Flutter::Minitest.flutter_tracker.reset! if Flutter.config.reset_storage
    reporter << Flutter::Minitest::Reporter.new(options)
  end
end