How to disable FetchError being thrown in background for replyWithError with nock and node-fetch?

前端 未结 0 1014
夕颜
夕颜 2020-12-09 00:00

I have an async function that makes an API call using fetch that wraps all statements in a try/catch.

export async function fetchAPI() {
  try {

    const re         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题