function makeResourcePromise(promise) {
    promise.abort = () => {
        /* noop */
    };

    return promise;
}
Jsdom expects promises returned by ResourceLoader.fetch to have an 'abort' method.
@param {Promise} promise The promise to augment.