Skip to content

Commit

Permalink
doc: add info on README
Browse files Browse the repository at this point in the history
  • Loading branch information
rvagg committed Jan 10, 2024
1 parent 8a5eac4 commit 8d2e118
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
***`@rvagg/chai-as-promised` is a fork of [chai-as-promised](https://github.com/domenic/chai-as-promised) converted to ESM, supports Chai v5+ and bundles types natively.***

```js
import * as chai from "chai"
import chaiAsPromised from "chai-as-promised"

chai.use(chaiAsPromised);
const { assert, expect } = chai;
```

<a href="http://promisesaplus.com/">
<img src="https://promises-aplus.github.io/promises-spec/assets/logo-small.png"
align="right" valign="top" alt="Promises/A+ logo" />
Expand Down

0 comments on commit 8d2e118

Please sign in to comment.