https://github.com/exogen/ky-afterresponse-repro
https://github.com/exogen/ky-afterresponse-repro
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/exogen/ky-afterresponse-repro
- Owner: exogen
- Created: 2019-05-15T01:25:11.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-15T01:28:36.000Z (about 7 years ago)
- Last Synced: 2025-04-03T11:15:42.306Z (over 1 year ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
To test:
```
$ yarn
$ yarn test
```
Under certain conditions, simply adding an `afterResponse` hook causes the
response Promise to hang (never be resolved).
- Removing the hook makes it work, so it must be something about the hook or
cloning the response.
- Switching to fetch makes it work, so it’s not that the request or response
are faulty.