You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cartodb/script/run_js_tests

9 lines
359 B

#!/usr/bin/env ruby
cartodb_path = File.expand_path(File.join(File.dirname(__FILE__), '..'))
phantom_jasmine = "lib/assets/test/lib/phantom-jasmine/bin/phantom-jasmine"
test_runner = "lib/assets/test/spec/test_runner.html"
command = "node #{cartodb_path}/#{phantom_jasmine} " +
"#{cartodb_path}/#{test_runner}"
exec command