added cli-covarage tool and fixed more tests

This commit is contained in:
Boki 2025-06-26 14:23:01 -04:00
parent b63e58784c
commit b845a8eade
57 changed files with 11917 additions and 295 deletions

View file

@ -6,7 +6,7 @@ export function registerCacheServices(
container: AwilixContainer<ServiceDefinitions>,
config: AppConfig
): void {
if (config.redis.enabled) {
if (config.redis?.enabled) {
container.register({
cache: asFunction(({ logger }) => {
const { createServiceCache } = require('@stock-bot/queue');