chai-object

0.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i chai-object

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • zoh