chai-object

Object include assertions for the Chai assertion library

npm install chai-object
2 downloads in the last week
4 downloads in the last month

chai-object

An extension to the chai assertion library (VERSION: 1.6.0) that provides a set of include object assertions.

Installation

$ npm install chai-object
chai = require('chai')
chai.should()
object = require('chai-object')
chai.use object

includeObj

({test: 1}).should.includeObj({test: 1})

....

Test

$ npm test

License

MIT

npm loves you