Fix the path to tests file in error handling doc (#781)

This commit is contained in:
Artem Bykov 2020-04-20 18:04:38 +02:00 committed by GitHub
parent 6e1b579ce0
commit 9250a1e155
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -30,6 +30,6 @@ fetch(url, {signal}).catch(error => {
List of error types:
- Because we maintain 100% coverage, see [test.js](https://github.com/node-fetch/node-fetch/blob/master/test/test.js) for a full list of custom `FetchError` types, as well as some of the common errors from Node.js
- Because we maintain 100% coverage, see [test/main.js](https://github.com/node-fetch/node-fetch/blob/master/test/main.js) for a full list of custom `FetchError` types, as well as some of the common errors from Node.js
[joyent-guide]: https://www.joyent.com/node-js/production/design/errors#operational-errors-vs-programmer-errors