coopinabox / praxis

2 stars 0 forks source link

error running testling locally #16

Open ahdinosaur opened 10 years ago

ahdinosaur commented 10 years ago
$ npm run test-client

> holonomy-tasks@0.1.3 test-client /home/michael/repos/holonomy/tasks
> (export NODE_ENV=test; testling)

not ok 1 Error: TypeError: 'undefined' is not a function (evaluating 'RegExp.prototype.test.bind(
    /^(data|aria)-[a-z_][a-z\d_.\-]*$/
  )') on line 26776
ahdinosaur commented 10 years ago

works by forcing testling to use google-chrome (maybe firefox/iceweasel works too) using node_modules/.bin/testling -x xdg-open. i think the problem is that we install phantom for other tests so somehow it is being favored by default.