Closed Benestar closed 10 years ago
The tests pass when executing in the browser, see https://tools.wmflabs.org/bene/ask/test/qunit.html. However, at travis they fail: https://travis-ci.org/Benestar/ask-wikidata. The reason for this might be that the "arguments" keyword for all parameters passed to a function in javascript does not work there. See also https://github.com/Benestar/ask-wikidata/blob/master/test/test_ask.js#L55 and https://github.com/Benestar/ask-wikidata/blob/master/src/ask.js#L40
I finally found the issue, see https://github.com/metaskills/mocha-phantomjs/issues/105
The tests pass when executing in the browser, see https://tools.wmflabs.org/bene/ask/test/qunit.html. However, at travis they fail: https://travis-ci.org/Benestar/ask-wikidata. The reason for this might be that the "arguments" keyword for all parameters passed to a function in javascript does not work there. See also https://github.com/Benestar/ask-wikidata/blob/master/test/test_ask.js#L55 and https://github.com/Benestar/ask-wikidata/blob/master/src/ask.js#L40