A platform for community discussion. Free, open, simple.
Disable check for yarn in qunit tests first.
Guo Xiang Tan349dc8da2904
diff --git a/lib/tasks/qunit.rake b/lib/tasks/qunit.rakeindex db7c19e7724..a38d40fae6e 100644--- a/lib/tasks/qunit.rake+++ b/lib/tasks/qunit.rake@@ -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."end- unless system("command -v yarn >/dev/null;")- abort "Yarn is not installed. Download from https://yarnpkg.com/lang/en/docs/install/"- end-- system("yarn install --dev")+ # unless system("command -v yarn >/dev/null;")+ # abort "Yarn is not installed. Download from https://yarnpkg.com/lang/en/docs/install/"+ # end+ #+ # system("yarn install --dev")# ensure we have this port availabledef port_available?(port)