Gathering detailed insights and metrics for karma-jasmine-html-reporter
Gathering detailed insights and metrics for karma-jasmine-html-reporter
Gathering detailed insights and metrics for karma-jasmine-html-reporter
Gathering detailed insights and metrics for karma-jasmine-html-reporter
A Karma plugin. Dynamically displays tests results at debug.html page
npm install karma-jasmine-html-reporter
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
37 Stars
55 Commits
27 Forks
2 Watching
3 Branches
7 Contributors
Updated on 20 Sept 2024
Minified
Minified + Gzipped
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
-0.5%
352,452
Compared to previous day
Last week
3.6%
1,939,354
Compared to previous week
Last month
1.7%
8,065,482
Compared to previous month
Last year
6.3%
90,036,737
Compared to previous year
3
Reporter that dynamically shows tests results at debug.html page.
You can also run a describe block, or a single test.
You can simply install karma-jasmine-html-reporter
as a devDependency by:
1npm install karma-jasmine-html-reporter --save-dev
1// karma.conf.js 2module.exports = function(config) { 3 config.set({ 4 frameworks: ['jasmine'], 5 plugins: [ 6 require('karma-jasmine'), 7 require('karma-jasmine-html-reporter') 8 ], 9 client: { 10 jasmine: { 11 // you can add configuration options for Jasmine here 12 // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html 13 // for example, you can disable the random execution with `random: false` 14 // or set a specific seed with `seed: 4321` 15 } 16 }, 17 reporters: ['kjhtml'] 18 }); 19};
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:
1// karma.conf.js 2module.exports = function(config) { 3 config.set({ 4 5 // Combine multiple reporters 6 reporters: ['kjhtml', 'mocha'], 7 8 jasmineHtmlReporter: { 9 suppressAll: true, // Suppress all messages (overrides other suppress settings) 10 suppressFailed: true // Suppress failed messages 11 } 12 13 }); 14};
You can pass a list of reporters as a CLI argument too:
1karma start --reporters kjhtml
jasmine Version | karma-jasmine-html-reporter version |
---|---|
2.x | 0.2.2 |
3.x | 1.x |
4.x | 2.x |
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
6 existing vulnerabilities detected
Details
Reason
Found 5/29 approved changesets -- score normalized to 1
Reason
0 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More