|
@ -569,7 +569,11 @@ describe("multiCaching", function() { |
|
|
store: 'memory', |
|
|
store: 'memory', |
|
|
ttl: memoryTtl |
|
|
ttl: memoryTtl |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
// This simulates how node-cache-manager-redis sets its
|
|
|
|
|
|
// isCacheableValue function:
|
|
|
memoryCache4.store.isCacheableValue = testCallbacks.isCacheableValue; |
|
|
memoryCache4.store.isCacheableValue = testCallbacks.isCacheableValue; |
|
|
|
|
|
|
|
|
multiCache = multiCaching([memoryCache4]); |
|
|
multiCache = multiCaching([memoryCache4]); |
|
|
sinon.spy(memoryCache4.store, 'set'); |
|
|
sinon.spy(memoryCache4.store, 'set'); |
|
|
}); |
|
|
}); |
|
|