<commit_before>karma-referee
=======================

[![NPM](https://nodei.co/npm/karma-referee.png?stars=true&downloads=true)](https://npmjs.org/package/karma-referee)


This project enables you to use [referee](https://github.com/busterjs/referee) (previously known as [buster-assertions](http://docs.busterjs.org/en/latest/modules/referees/#buster-assertions)) as part of your tests running on [Karma-runner](http://karma-runner.github.io/).

In addition to referee the plugin also expose the features in the [referee-sinon]() module which provides sinon features as part of your assertions.

## Instalation 

	$ npm install karma-referee --save-dev

Add ``referees` as a framework:

	frameworks: ['referee']


Then make sure you configure the ``karma-referee`` plugin.

	plugins: [
		'karma-referee'
	]

Viola, you can now enjoy the assertions awesomeness from Referee in the comfort of your very own Karma-runner!
	...
	assert.isTrue(true);
	refute.isTrue(object);
	...
	assert.calledOnce(stub);<commit_msg>cleaning up doc<commit_after>karma-referee
=======================

[![NPM](https://nodei.co/npm/karma-referee.png?stars=true&downloads=true)](https://npmjs.org/package/karma-referee)


This project enables you to use [referee](https://github.com/busterjs/referee) (previously known as [buster-assertions](http://docs.busterjs.org/en/latest/modules/referees/#buster-assertions)) as part of your tests running on [Karma-runner](http://karma-runner.github.io/).

In addition to referee the plugin also expose the features in the [referee-sinon]() module which provides sinon features as part of your assertions.

## Instalation 

	$ npm install karma-referee --save-dev

Add ``referees` as a framework:

	frameworks: ['referee']


Then make sure you configure the ``karma-referee`` plugin.

	plugins: [
		'karma-referee'
	]

Viola, you can now enjoy the assertions awesomeness from Referee in the comfort of your very own Karma-runner!
{'fraction_non_alphanumeric': 0.14696813977389517, 'fraction_numerical': 0.0, 'mean_word_length': 4.864457831325301, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2383467', 'n_tokens_mistral': 652, 'n_tokens_neox': 638, 'n_words': 172}