zuul added a
--phantom flag which provides the functionality that zuul-mp is meant to provide.
zuul --phantom instead.
Runs your mocha tests with zuul and phantomjs locally or on a build server.
npm install zuul-mp
zuul-mp with the same arguments you would pass to zuul.
You can also include arguments for mocha-phantomjs.
zuul-mp test.js # Override reporter zuul-mp test.js --reporter list # Override default port zuul-mp test.js --local 3100
--reporter list is picked up by mocha-phantomjs and all other arguments by zuul.
.zuul.yml is picked up and treated the exact
same way as it is when running zuul directly.
You can use zuul-mp's main function directly to launch it from other tools.
(args, cwd, cb)zuulmp
Starts up a zuul server and runs mocha-phantomjs against it.
Name Type Description
arguments passed to zuul and phantomjs
working directory to be used for zuul and mocha-phantomjs
called back with eventual error and the exit code (0 if all went good)
generated with docme