From 0681d8f1507b60ed7837d4455752e0b4f0f40d40 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 22 May 2015 10:05:17 +1000 Subject: [PATCH] qunit is opt in now --- lib/autospec/manager.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/autospec/manager.rb b/lib/autospec/manager.rb index 03020fcd9..45256015d 100644 --- a/lib/autospec/manager.rb +++ b/lib/autospec/manager.rb @@ -19,7 +19,12 @@ class Autospec::Manager @mutex = Mutex.new @signal = ConditionVariable.new @runners = [ruby_runner] - @runners << javascript_runner unless ENV['NO_QUNIT'] + + if ENV["QUNIT"] == "1" + @runners << javascript_runner + else + puts "Skipping JS tests, run them in the browser at /qunit or add QUNIT=1 to env" + end end def run