A platform for community discussion. Free, open, simple.
DEV: makes hidepassed default when running qunit (#7558)
Joffrey JAFFEUX9ce9d72e71cb
diff --git a/lib/tasks/qunit.rake b/lib/tasks/qunit.rakeindex dfb877e1f76..7bee6e15073 100644--- a/lib/tasks/qunit.rake+++ b/lib/tasks/qunit.rake@@ -56,7 +56,7 @@ task "qunit:test", [:timeout, :qunit_path] => :environment do |_, args|test_path = "#{Rails.root}/test"qunit_path = args[:qunit_path] || "/qunit"cmd = "node #{test_path}/run-qunit.js http://localhost:#{port}#{qunit_path}"- options = { seed: (ENV["QUNIT_SEED"] || Random.new.seed) }+ options = { seed: (ENV["QUNIT_SEED"] || Random.new.seed), hidepassed: 1 }%w{module filter qunit_skip_core qunit_single_plugin}.each do |arg|options[arg] = ENV[arg.upcase] if ENV[arg.upcase].present?