tests
This commit is contained in:
parent
3a7254708e
commit
b63e58784c
41 changed files with 5762 additions and 4477 deletions
4
libs/core/cache/src/cache-factory.ts
vendored
4
libs/core/cache/src/cache-factory.ts
vendored
|
|
@ -1,4 +1,4 @@
|
|||
import { NamespacedCache, CacheAdapter } from './namespaced-cache';
|
||||
import { CacheAdapter, NamespacedCache } from './namespaced-cache';
|
||||
import { RedisCache } from './redis-cache';
|
||||
import type { CacheProvider, ICache } from './types';
|
||||
|
||||
|
|
@ -70,4 +70,4 @@ function createNullCache(): ICache {
|
|||
disconnect: async () => {},
|
||||
isConnected: () => true,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
2
libs/core/cache/src/namespaced-cache.ts
vendored
2
libs/core/cache/src/namespaced-cache.ts
vendored
|
|
@ -128,4 +128,4 @@ export class CacheAdapter implements CacheProvider {
|
|||
isReady(): boolean {
|
||||
return this.cache.isConnected();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue