dalekjs / dalek

[unmaintained] DalekJS Base framework
MIT License
695 stars 63 forks source link

Run DalekJs tests on Travis #162

Open emdin opened 8 years ago

emdin commented 8 years ago

I cannot make my DalekJs tests work on Travis-CI using headless Chrome.

Here is my set-up:

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.