Benestar / ask-wikidata

Do you have a question? Ask Wikidata! This tool lets you enter a question and tries to parse it. If it understands what you want to know, it will search for this information on Wikidata.
http://tools.wmflabs.org/bene/ask/
GNU General Public License v2.0
44 stars 12 forks source link

Make tests passing #1

Closed Benestar closed 10 years ago

Benestar commented 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

Benestar commented 10 years ago

I finally found the issue, see https://github.com/metaskills/mocha-phantomjs/issues/105