MCPcopy Create free account
hub / github.com/dfederm/karma-jasmine-html-reporter

github.com/dfederm/karma-jasmine-html-reporter

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.3.0 ↗ · + Follow · compare 2 versions
14 symbols 29 edges 5 files ⚖ MIT 0 documented · 0% updated 2d agov2.3.0 · 2026-08-18★ 38

Browse by type

Functions 14 Types & classes 0
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

karma-jasmine-html-reporter

npm version npm downloads

Reporter that dynamically shows tests results at debug.html page.

alt tag

You can also run a describe block, or a single test.

alt tag

Installation

You can simply install karma-jasmine-html-reporter as a devDependency by:

npm install karma-jasmine-html-reporter --save-dev

Configuration

// karma.conf.js
module.exports = function(config) {
  config.set({
    frameworks: ['jasmine'],
    plugins: [
        require('karma-jasmine'),
        require('karma-jasmine-html-reporter')
    ],
    client: {
        jasmine: {
            // you can add configuration options for Jasmine here
            // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
            // for example, you can disable the random execution with `random: false`
            // or set a specific seed with `seed: 4321`
        }
    },
    reporters: ['kjhtml']
  });
};

With options

In combination with multiple reporters you may want to disable terminal messages because it's already handled by another reporter.

Example using the 'karma-mocha-reporter' plugin:

// karma.conf.js
module.exports = function(config) {
  config.set({

    // Combine multiple reporters
    reporters: ['kjhtml', 'mocha'],

    jasmineHtmlReporter: {
      suppressAll: true, // Suppress all messages (overrides other suppress settings)
      suppressFailed: true // Suppress failed messages
    }

  });
};

You can pass a list of reporters as a CLI argument too:

karma start --reporters kjhtml

Version compatibility

jasmine Version karma-jasmine-html-reporter version
2.x 0.2.2
3.x 1.x
4.x - 7.x 2.x

Jasmine 7 support replaces karma-jasmine's incompatible browser boot files while continuing to use its Karma adapter. Karma and karma-jasmine are both deprecated, so new projects should prefer a maintained browser test runner. The retained adapter reports Jasmine 7's notApplicable status as a success; use a maintained runner if you need full Jasmine 7 result semantics.

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 14

Languages

TypeScript100%

Modules by API surface

test/unit.js9 symbols
src/index.js5 symbols

Dependencies from manifests, versioned

jasmine-core7.0.1 · 1×

For agents

$ claude mcp add karma-jasmine-html-reporter \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page