fix ing the mock mock mock !
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 1h4m27s
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 1h4m27s
This commit is contained in:
@@ -177,7 +177,7 @@ describe('AI Routes (/api/ai)', () => {
|
||||
await supertest(authenticatedApp).post('/api/ai/upload-and-process').field('checksum', 'addr-checksum').attach('flyerFile', imagePath);
|
||||
|
||||
// Assert
|
||||
expect(vi.mocked(flyerQueue.add).mock.calls[0][1].userProfileAddress).toBe('123 Main St, Anytown, CA, 12345, USA');
|
||||
expect(vi.mocked(flyerQueue.add).mock.calls[0][1].userProfileAddress).toBe('123 Pacific St, Anytown, BC, V8T 1A1, CA');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user