No export named `request`
Currently, in the documentation in the [readme](https://github.com/chaijs/chai-http?tab=readme-ov-file#plugin), there is an example importing `request` from `chai-http`:
```
...
import {default as chaiHttp, request} from "chai-http";
...
```
However, there is no export named `request` in the currently available release in npm, which is 5.0.0:
```
SyntaxError: The requested module 'chai-http' does not provide an export named 'request'
```
There is a tagged 5.1.0 release in github - does that fix the issue? Are there plans to publish that release to npm?
关闭于 2024-10-09 3 条评论