Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/4lejandrito/karma-chai-ie8
Karma Plugin for Assertive Chai
https://github.com/4lejandrito/karma-chai-ie8
Last synced: about 1 month ago
JSON representation
Karma Plugin for Assertive Chai
- Host: GitHub
- URL: https://github.com/4lejandrito/karma-chai-ie8
- Owner: 4lejandrito
- License: mit
- Created: 2015-10-27T02:01:14.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-16T14:47:07.000Z (almost 9 years ago)
- Last Synced: 2024-10-02T09:38:16.294Z (about 1 month ago)
- Language: JavaScript
- Size: 137 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
karma-chai-ie8
==========[Chai](https://github.com/chaijs/chai) for [Karma](http://karma-runner.github.io)
with partial support for IE8 (assert interface) using
[Assertive Chai](https://github.com/jokeyrhyme/assertive-chai.js).[![NPM version](https://badge.fury.io/js/karma-chai-ie8.png)](http://badge.fury.io/js/karma-chai-ie8)
(based on https://github.com/xdissent/karma-chai)
Installation
------------Install the plugin from npm:
```sh
$ npm install karma-chai-ie8 --save-dev
```Or from Github:
```sh
$ npm install 'git+https://github.com/4lejandrito/karma-chai-ie8.git' --save-dev
```Add `chai-ie8` to the `frameworks` key in your Karma configuration:
```coffee
module.exports = (config) ->
config.set# frameworks to use
frameworks: ['mocha', 'chai-ie8']# ...
```Usage
-----The assert suites is available in the tests:
```coffee
describe 'karma tests with chai', ->it 'should expose the Chai assert method', ->
assert.ok('everything', 'everything is ok');
```License
-------The MIT License (MIT)