Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

karma-osx-reporter

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

karma-osx-reporter

A Karma plugin. Report results with OSX Notification Center.

  • 0.0.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
595
decreased by-9.3%
Maintainers
1
Weekly downloads
 
Created
Source

karma-osx-reporter

Reporter using Mac OS 10.8+ Notification Center to display results.

image

Built on top of node-osx-notifier and based on AvnerCohen's code.

Only works with Karma 0.9 or later which enables custom plugins.

For more information on Karma see the homepage.

Installation

  1. Install Karma and karma-osx-reporter plugin. The plugin requires Karma 0.9+, but Karma's stable version is now 0.10 so it's pretty easy.

a. Globally. System-wide with karma available on command line.

```
npm install -g karma
npm install -g karma-osx-reporter
```

b. Locally. If you want to install Karma to your project instead, add the dependencies to package.json and run npm install:

```js
"devDependencies": {
  "karma": ">=0.9",
  "karma-osx-reporter": "*"
}
```

If you install locally, you'll need to run Karma using `node_modules/.bin/karma`.

In any case, the plugin needs to be installed as a peer dependency to Karma (i.e. in the sibling folder). This just means you cannot use global Karma with local plugins or vice-versa.

  1. Add dependency to the plugin section in Karma config file (syntax shown for Karma 0.9.3+):
  karma.configure({
    ...
    plugins: [
      'karma-osx-reporter'
    ],
    ...
  })
  1. Define it as a reporter in the config file
reporters: ['osx']

or pass through the command line

$ karma start --reporters=osx karma.conf.js

License

MIT License

Keywords

FAQs

Package last updated on 27 Oct 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc