Hello,
dalekjs is awesome. However, I have a hard time trying to make it work on Travis-CI.
Here is my set-up:
* Web server is running on localhost:3000
* Dalek tests suppose to use headless Chrome (configured via xvfb)
* Chrome driver use port 6000 (via Dalekfile.json)
Here is what I got in Travis:
/home/travis/build/.../node_modules/dalekjs/lib/dalek.js:346
this.driverEmitter.emit('killAll');
^
TypeError: Cannot read property 'emit' of undefined
at Object.Dalek._shutdown (/home/travis/build/.../node_modules/dalekjs/lib/dalek.js:346:23)
at process.emit (events.js:107:17)
at process._fatalException (node.js:236:26)
The command "dalek test/test.js -l 5" exited with 7.
Please advise. Does anybody may be has a working example of dalekjs running on Travis?