From 9ce9d72e71cb3d54d120349104850dfa71299b60 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Thu, 16 May 2019 14:37:01 +0200 Subject: [PATCH] DEV: makes hidepassed default when running qunit (#7558) Mostly useful when not running headless, but I endup doing it a lot when debugging, one less thing to check. --- lib/tasks/qunit.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/qunit.rake b/lib/tasks/qunit.rake index 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?