Hi,
On 21 September 2013 13:38, Andrew Savory <[email protected]> wrote:
Once I installed the default npm version, I get:
>
> Running "jshint:files" (jshint) task
> >> 5 files lint free.
>
> Running "karma:continuous" (karma) task
> WARN [config]: QUNIT is not supported anymore.
> Please use `frameworks = ["qunit"];` instead.
> WARN [config]: QUNIT_ADAPTER is not supported anymore.
> Please use `frameworks = ["qunit"];` instead.
> WARN [config]: LOG_INFO is not supported anymore.
> Please use `karma.LOG_INFO` instead.
> ERROR [config]: Config file must export a function!
> module.exports = function(config) {
> config.set({
> // your config
> });
> };
>
>
Ok, after some noodling I think things are now working mostly as they
should. I've updated karma.conf.js to what seems to be the current format.
See http://svn.apache.org/viewvc?view=revision&revision=1525237
I was able to get the tests to work and the package to build, but I can't
seem to get it working with PhantomJS. Perhaps someone that knows more can
fix that part.
It also seems like you need to run 'npm install -d' to get all dependencies
installed before you can test or package ... can anyone confirm?
Thanks,
Andrew.
--
[email protected] / [email protected]
http://www.andrewsavory.com/