UNPKG

bentocache

Version:

Multi-tier cache module for Node.js. Redis, Upstash, CloudfareKV, File, in-memory and others drivers

25 lines (22 loc) 717 B
import { Group } from '@japa/runner/core'; import { test } from '@japa/runner'; import { CacheDriverOptions, CacheDriver } from './types/main.js'; import '@poppinss/exception'; import '@boringnode/bus/types/main'; import '@julr/utils/logger'; import 'knex'; import 'kysely'; import '@aws-sdk/client-dynamodb'; import 'ioredis'; import 'orchid-orm'; declare function registerCacheDriverTestSuite(options: { test: typeof test; group: Group; createDriver: (options?: CacheDriverOptions) => CacheDriver<any>; configureGroup?: (group: Group) => any; /** * If the driver support milliseconds for TTLs */ supportsMilliseconds?: boolean; }): void; export { registerCacheDriverTestSuite };