mirror of
https://github.com/vale981/apollo-server
synced 2025-03-09 12:36:39 -04:00
7 lines
270 B
TypeScript
7 lines
270 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';
|
|
|
|
testKeyValueCache(new MemcachedCache('localhost'));
|