mirror of
https://github.com/vale981/apollo-server
synced 2025-03-17 08:16:40 -04:00
8 lines
282 B
TypeScript
8 lines
282 B
TypeScript
![]() |
// use mock implementations for underlying databases
|
||
|
jest.mock('memcached', () => require('memcached-mock'));
|
||
|
|
||
|
import MemcachedKeyValueCache from '../src/index';
|
||
|
import { testKeyValueCache } from 'apollo-server-caching';
|
||
|
|
||
|
testKeyValueCache(new MemcachedKeyValueCache('localhost'));
|