Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/javascript')
-rw-r--r--tests/javascript/testrunner.js3
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");