Add option to get all resources even unusable ones with resources:all
Author: movianlostCreated May 5, 2021Updated Sep 17, 2026
In the current version of jsdom, we can add option {resources:'usable'} which allow jsdom to fetch usable resources. However, in my case, I want jsdom to fetch all resources even the ones that are not usable under jsdom, resources such as media, etc
I suggest a new value for the resources property where the developer can set it to all instead of usable and it will allow jsdom to make requests for such resources.
Source: jsdom/jsdom