Overwrite the internal fetch function with your own. Typically for use in Node.js and Jest.
fetch
const { getVenue } = require("@mappedin/mappedin-js/lib/node/index");setFetchFn(require("node-fetch-commonjs")); Copy
const { getVenue } = require("@mappedin/mappedin-js/lib/node/index");setFetchFn(require("node-fetch-commonjs"));
Overwrite the internal
fetch
function with your own. Typically for use in Node.js and Jest.