This version is outdated! Click here to see latest



BDD/TDD assertion library for node.js and the browser. Test framework agnostic.

(test, assertion, assert, testing, chai)

Critical or Security advisories for 4.1.0

This version doesn't have any advisory. Want to report one?

Changelog for 4.1.0

This release includes one new feature and a few bug fixes.

New Features

  • Add ES6 collection support to include() (#970, #994; @shvaikalesh)

Bug Fixes

  • Allow dates for isBelow and isAbove assertions (#980, #990; @v1adko)
  • fix: check target's type in .property assertion (#992; @meeber)


  • Add a missing var keyword found by (#988; @samlanning)
  • refactor: expectTypes to access ssfi flag (#993; @meeber)
  • Create CODEOWNERS (#1004; @keithamus)

Dependencies for 4.1.0

Name Requirement Status










Display all

My projects using chai

Name Locked version Requirement
You should be logged in to see which of your projects use chai.