Promises/A+ logo

Chai Assertions for Promises

Dynamic JSON Badge Dynamic JSON Badge Dynamic JSON Badge pnpm

It is a fork of Chai as Promised for supporting Chai >= 5.x and typescript.
Please see documentation at chai-as-promised


npm uninstall @types/chai-as-promised chai-as-promised --save-dev --force
npm install chai-promised --save-dev


This library was developed primarily to support the development of unit tests using typescript.

import { chaiAsPromised } from 'chai-promised';
import * as chai from 'chai';