kmiyashiro / grunt-mocha

[MOVED] Grunt task for running mocha specs in a headless browser (PhantomJS)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`mochaInstance.reporters.HTML ... 'undefined' is not an object`

leegee opened this issue · comments

I know it's something I've done wrong, but I can't work it out — does this look familiar?

Warning: TypeError: 'undefined' is not an object (evaluating 'mochaInstance.reporters.HTML')
    at undefined (/Users/lgoddard2/src/require-html5-boilerplate-jquery-mocha/node_modules/grunt-mocha/phantomjs/bridge.js:69)
    at undefined (/Users/lgoddard2/src/require-html5-boilerplate-jquery-mocha/node_modules/grunt-mocha/phantomjs/bridge.js:100) Use --force to continue.

Can't say without getting more info. Looks like mocha is not loaded.

Make sure you are still loading mocha.js in your html file.

Thanks for your reply. I'll double check.