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.4.2
  • latest
  • npm
  • Socket score

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

karma-referee

Build Status Dependency Status devDependency Status

NPM

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

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!

Overview

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.

The plugin expose the assert, refute and expect objects on window.

Contributors

Keywords

FAQs

Package last updated on 27 Nov 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