Replace istanbul ignore next with c8 ignore next

This commit is contained in:
Antoni Kepinski 2020-05-24 00:28:17 +02:00
parent ca690de1e0
commit c822ff4719
No known key found for this signature in database
GPG Key ID: C15767C6F117A9B6
1 changed files with 2 additions and 1 deletions

View File

@ -138,8 +138,9 @@ export default function fetch(url, options_) {
try {
headers.set('Location', locationURL);
} catch (error) {
// istanbul ignore next: nodejs server prevent invalid response headers, we can't test this through normal request
/* c8 ignore next */
reject(error);
/* c8 ignore next */
}
}