taras42 / karma-jasmine-html-reporter

A Karma plugin. Dynamically displays tests results at debug.html page
MIT License
44 stars 17 forks source link

WARN [reporter]: Can not load "html", it is not registered! Perhaps you are missing some plugin? #12

Closed ryananthonydrake closed 8 years ago

ryananthonydrake commented 8 years ago

Hi there,

I can't get the HTML file to produce the results of my tests. I can see in the console that the tests are passing, but nothing displayed on the page at http://localhost:9876/debug.html

Here's my package.json file:

"karma": "~0.12.30",
"karma-chrome-launcher": "~0.1.7",
    "karma-jasmine": "~0.3.3",
    "karma-phantomjs-launcher": "~0.1.4",
    "karma-jasmine-html-reporter": "^0.1.8",

Here's my karma.conf file:

module.exports = function(config) {
  config.set({
    reporters: ['html'],
       ...

Please see the screenshot below: screen shot 2015-09-25 at 10 33 06 am

Any suggestions here?

ryananthonydrake commented 8 years ago

I'm an idiot.

I forgot to add the plugin to the karma.conf file. Wasn't even looking at that part of the file to configure it! D'oh.