mirror of
https://github.com/discourse/discourse.git
synced 2025-01-30 22:56:07 +08:00
Re-enable check for yarn when running qunit:test rake task.
This commit is contained in:
parent
d0b44520bd
commit
6f89db4c24
|
@ -13,11 +13,11 @@ task "qunit:test", [:timeout, :qunit_path] => :environment do |_, args|
|
||||||
abort "Chrome 59 or higher is required to run tests in headless mode."
|
abort "Chrome 59 or higher is required to run tests in headless mode."
|
||||||
end
|
end
|
||||||
|
|
||||||
# unless system("command -v yarn >/dev/null;")
|
unless system("command -v yarn >/dev/null;")
|
||||||
# abort "Yarn is not installed. Download from https://yarnpkg.com/lang/en/docs/install/"
|
abort "Yarn is not installed. Download from https://yarnpkg.com/lang/en/docs/install/"
|
||||||
# end
|
end
|
||||||
#
|
|
||||||
# system("yarn install --dev")
|
system("yarn install --dev")
|
||||||
|
|
||||||
# ensure we have this port available
|
# ensure we have this port available
|
||||||
def port_available?(port)
|
def port_available?(port)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user