Replace istanbul ignore next with c8 ignore next
This commit is contained in:
parent
ca690de1e0
commit
c822ff4719
|
@ -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 */
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue