dalekjs / dalek

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

Using Dalekfile is throwing issue #121

Open mischah opened 10 years ago

mischah commented 10 years ago

Using multiple browsers via commandline is working like a charme:

$ dalek test/test.js -b chrome,phantomjs

But using Dalekfile is throwing an error.

Content of Dalekfile.json:

{ "browsers": ["chrome", "phantomjs"] }

Firing dalek from terminal:

$ dalek test/test.js

Error Message

/Users/mkuehnel/Projects/dalekjs-hackathon/node_modules/dalekjs/lib/dalek.js:333
    this.driverEmitter.emit('killAll');
                       ^
TypeError: Cannot call method 'emit' of undefined
    at Object.Dalek._shutdown (/Users/mkuehnel/Documents/Projects/dalekjs-hackathon/node_modules/dalekjs/lib/dalek.js:333:24)
    at process.EventEmitter.emit (events.js:95:17)
    at process._fatalException (node.js:272:26)
mischah commented 10 years ago

This also makes it impossible to use dalek --remote to test IE in virtual machines :disappointed_relieved:

Guess I’ll give the DalekJS grunt task a try. Cause it seems that is possible to skip the Dalekfile and setup stuff via the options object.

asciidisco commented 10 years ago

Yep. Hiccup in the internal configuration manager. Will fix it with the next version.

mischah commented 10 years ago

:+1:

brandonbuttars commented 8 years ago

Any news on this? :) Next version?