moar fixes + unit test review of routes
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 57m53s

This commit is contained in:
2025-12-19 14:20:22 -08:00
parent aa437d6139
commit e62739810e
38 changed files with 1167 additions and 288 deletions

View File

@@ -7,16 +7,7 @@ import { createMockUserProfile, createMockSuggestedCorrection, createMockBrand,
import { SuggestedCorrection, Brand, UserProfile, UnmatchedFlyerItem } from '../types';
import { NotFoundError } from '../services/db/errors.db';
import { createTestApp } from '../tests/utils/createTestApp';
const { mockLogger } = vi.hoisted(() => ({
mockLogger: {
info: vi.fn(),
debug: vi.fn(),
warn: vi.fn(),
error: vi.fn(),
child: vi.fn().mockReturnThis(),
},
}));
import { mockLogger } from '../tests/utils/mockLogger';
vi.mock('../lib/queue', () => ({
serverAdapter: {