avoid fetching external resources in jsdom