google-trends-api-client
Version:
An fully typed and easy to use client for the google trends api.
11 lines • 587 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getTestCookieCache = void 0;
// eslint-disable-next-line import/no-extraneous-dependencies
const simple_on_disk_cache_1 = require("simple-on-disk-cache");
const getTestCookieCache = () => (0, simple_on_disk_cache_1.createCache)({
directoryToPersistTo: { mounted: { path: `${__dirname}/__tmp__/cookies` } },
defaultSecondsUntilExpiration: 60 * 60 * 24 * 30, // cache for up to a month, for tests
});
exports.getTestCookieCache = getTestCookieCache;
//# sourceMappingURL=getTestCookieCache.js.map