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

karma-referee

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

karma-referee

A Karma plugin for the Referee assertions library

  • 0.3.0
  • npm
  • Socket score

Version published
Weekly downloads
17
decreased by-15%
Maintainers
1
Weekly downloads
 
Created
Source

karma-referee

NPM

This project enables you to use referee (previously known as buster-assertions) as part of your tests running on Karma-runner.

In addition to referee, the plugin also exposes the features in the referee-sinon module, which provides sinon-specific assertions such as assert.calledOnce and others. formatio is also used to pretty-print error messages from referee and sinon.

Installation

$ npm install karma-referee --save-dev

Add refere as a framework:

frameworks: ['referee']

Then make sure you configure the karma-referee plugin.

plugins: [
	'karma-referee'
]

Viola, you can now enjoy referee's assertion awesomeness from the comfort of your very own Karma-runner!

Keywords

FAQs

Package last updated on 14 Feb 2014

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