Refactor: Update test files to improve mock structure and remove unused imports
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 6m51s

This commit is contained in:
2025-12-15 01:48:32 -08:00
parent 0f62a6330e
commit e00f33fd60
8 changed files with 55 additions and 8 deletions

View File

@@ -472,7 +472,7 @@ describe('Flyer DB Service', () => {
it('should rollback transaction on generic error', async () => {
const dbError = new Error('DB Error');
vi.mocked(withTransaction).mockImplementation(async (callback) => {
vi.mocked(withTransaction).mockImplementation(async (_callback) => {
throw dbError; // Simulate error during transaction
});