fix logging tests
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 5m56s

This commit is contained in:
2025-12-09 13:42:49 -08:00
parent 525ab5fc0c
commit 40b6ea35c1

View File

@@ -1,5 +1,10 @@
// src/services/logger.client.test.ts
import { describe, it, expect, vi, afterEach } from 'vitest';
// IMPORTANT: Unmock the module to ensure we test the REAL implementation,
// not an auto-mocked version that doesn't actually call console methods.
vi.unmock('./logger.client');
import { logger } from './logger.client';
console.log('Logger implementation:', logger);