Origami Frontend Components & Services

Readme: karma-proclaim

Proclaim assertion library for Karma.

Proclaim is a simple assertion library for server and client side JavaScript.
It can be used with most test frameworks and is compatible with IE6+. Proclaim
is an attempt to achieve the simplicity of
Node.js assert with the extra assertions
of Chai.


Install the plugin from npm:

$ npm install @financial-times/karma-proclaim --save-dev

Or from Github:

Add proclaim to the frameworks key in your Karma configuration:

module.exports = function(config) {
    // frameworks to use
    frameworks: [ 'mocha', 'proclaim' ]

    // ...


describe('mocha tests with proclaim', function() {
  it('should expose proclaim', function() {
    proclaim.ok('everything', 'everything is ok');
    proclaim.notEqual('foo', 'bar');
maintained Origami v1 (Bower)
Switch component view

GitHub: karma-proclaim