diff options
author | diosmosis <benaka@piwik.pro> | 2015-09-22 11:50:51 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-10-27 07:46:25 +0300 |
commit | be599ea9e87047e585dfa8d2be38b043d6d510d8 (patch) | |
tree | 7a1ad200f0db7d8e93fc23f5f48a3d438684af05 /tests/javascript | |
parent | 824a6e6b9b751141db17be627fa81c564fc2a171 (diff) |
Try to fix javascript + angular tests on travis.
Diffstat (limited to 'tests/javascript')
-rw-r--r-- | tests/javascript/testrunner.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/javascript/testrunner.js b/tests/javascript/testrunner.js index 7ac70b4a31..7194540ec8 100644 --- a/tests/javascript/testrunner.js +++ b/tests/javascript/testrunner.js @@ -22,7 +22,8 @@ // IN THE SOFTWARE var fs = require("fs"); -var url = 'http://localhost/tests/javascript/'; +var system = require("system"); +var url = system.args[1] || 'http://localhost/tests/javascript/'; function printError(message) { console.error(message + "\n"); |