mirror of
https://github.com/vale981/apollo-server
synced 2025-03-08 19:21:40 -05:00
7 lines
300 B
TypeScript
7 lines
300 B
TypeScript
// use mock implementations for underlying databases
|
|
jest.mock('memcached', () => require('memcached-mock'));
|
|
|
|
import { MemcachedCache } from '../src/index';
|
|
import { testKeyValueCache } from '../../apollo-server-caching/src/__tests__/testsuite';
|
|
|
|
testKeyValueCache(new MemcachedCache('localhost'));
|