Skip to content

Commit

Permalink
Update chai_http.md
Browse files Browse the repository at this point in the history
add link to guide on how to use chai-http with `import`

This is part of chaijs#205
  • Loading branch information
boly38 committed May 19, 2024
1 parent 9f52c6b commit 0a98cfc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/chai_http.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ var chai = require('chai')
chai.use(chaiHttp);
```

To use Chai HTTP with import, cf. [this guide](https://www.chaijs.com/guide/using-chai-with-esm-and-plugins/).

To use Chai HTTP on a web page, just include the [`dist/chai-http.js`](dist/chai-http.js) file:

```html
Expand Down

0 comments on commit 0a98cfc

Please sign in to comment.