Package Exports
- karma-unicorn-reporter
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (karma-unicorn-reporter) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
karma-unicorn-reporter
Report test results using unicorns
Installation
The easiest way is to keep karma-unicorn-reporter
as a devDependency in your package.json
.
{
"devDependencies": {
"karma": "~0.10",
"karma-unicorn-reporter": "~0.1"
}
}
You can simple do it by:
npm install karma-unicorn-reporter --save-dev
Configuration
// karma.conf.js
module.exports = function(config) {
config.set({
reporters: ['progress', 'unicorn'],
});
};
You can pass list of reporters as a CLI argument too:
karma start --reporters unicorn,dots
For more information on Karma see the homepage.