diff --git a/test/test.js b/test/test.js index 10ceb8068..83df6c3bc 100644 --- a/test/test.js +++ b/test/test.js @@ -80,7 +80,7 @@ result = []; if (phantom) { - result = params = phantom.args; + result = params = phantom.args || require('system').args; } else if (system) { min = 1; result = params = system.args;