(appId, config)
| 3 | const { BlockList } = require('net'); |
| 4 | |
| 5 | const AppCachePut = (appId, config) => |
| 6 | AppCache.put(appId, { |
| 7 | ...config, |
| 8 | maintenanceKeyIpsStore: new Map(), |
| 9 | masterKeyIpsStore: new Map(), |
| 10 | readOnlyMasterKeyIpsStore: new Map(), |
| 11 | }); |
| 12 | |
| 13 | describe('middlewares', () => { |
| 14 | let fakeReq, fakeRes; |