https://github.com/nathanboktae/karma-chai-dom
Karma framework for chai-dom
https://github.com/nathanboktae/karma-chai-dom
Last synced: 4 months ago
JSON representation
Karma framework for chai-dom
- Host: GitHub
- URL: https://github.com/nathanboktae/karma-chai-dom
- Owner: nathanboktae
- License: mit
- Created: 2015-10-06T16:43:16.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-06T17:31:53.000Z (over 9 years ago)
- Last Synced: 2025-02-24T23:37:55.478Z (4 months ago)
- Language: JavaScript
- Size: 125 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# karma-chai-dom
> chai-dom plugin for Karma Test Runner* [Karma](http://karma-runner.github.io)
* [chai-dom](https://github.com/nathanboktae/chai-dom)## Installation
```sh
$ npm install --save-dev karma-chai-dom
```- `karma-chai-dom` requires `chai` which is not included and recommended to be installed through [karma-chai](https://github.com/xdissent/karma-chai)
#### Karma plugins load in reverse order so make sure that dom and chai **come before** `chai-dom`
```js
module.exports = function(config) {
config.set({
frameworks: ['mocha', 'chai-dom', 'chai'],
//...
})
}
```## Usage
See the [chai-dom](https://github.com/nathanboktae/chai-dom) documentation.