mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
qunit is opt in now
This commit is contained in:
parent
b12eaf39c0
commit
0681d8f150
@ -19,7 +19,12 @@ class Autospec::Manager
|
|||||||
@mutex = Mutex.new
|
@mutex = Mutex.new
|
||||||
@signal = ConditionVariable.new
|
@signal = ConditionVariable.new
|
||||||
@runners = [ruby_runner]
|
@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
|
end
|
||||||
|
|
||||||
def run
|
def run
|
||||||
|
Loading…
Reference in New Issue
Block a user