backend-plugin-api: refactor CacheService to lift up client methods to the service
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -107,6 +107,8 @@ class MockCacheClient implements CacheClient {
|
||||
async delete(key: string) {
|
||||
delete this.itemRegistry[key];
|
||||
}
|
||||
|
||||
withOptions = () => this;
|
||||
}
|
||||
|
||||
describe('createRouter', () => {
|
||||
|
||||
Reference in New Issue
Block a user