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:
Patrik Oldsberg
2023-02-08 14:21:20 +01:00
parent e6d358237c
commit 5febb216fe
20 changed files with 200 additions and 115 deletions
@@ -83,6 +83,7 @@ const mockCacheClient = {
get: jest.fn(),
set: jest.fn(),
delete: jest.fn(),
withOptions: jest.fn(),
};
jest.mock('jose');