12 lines
213 B
JavaScript
12 lines
213 B
JavaScript
'use strict';
|
|
|
|
let customFetch = fetch;
|
|
function setFetch(fetchFunction) {
|
|
customFetch = fetchFunction;
|
|
}
|
|
function getFetch() {
|
|
return customFetch;
|
|
}
|
|
|
|
exports.getFetch = getFetch;
|
|
exports.setFetch = setFetch;
|