feat: add hourly portfolio sync history
This commit is contained in:
@@ -319,7 +319,7 @@ describe('Request-driven operations synchronization (SQLite)', () => {
|
||||
expect(observed.plan?.intervals[0]).toMatchObject({
|
||||
availability: 'complete',
|
||||
asOf,
|
||||
stale: true,
|
||||
stale: false,
|
||||
});
|
||||
expect(upstream.getOperationsByCursor).not.toHaveBeenCalled();
|
||||
upstream.getOperationsByCursor.mockResolvedValue({
|
||||
@@ -328,6 +328,7 @@ describe('Request-driven operations synchronization (SQLite)', () => {
|
||||
});
|
||||
const refresh = await service.readPlan('owner', [target], {
|
||||
movingEnd: true,
|
||||
force: true,
|
||||
});
|
||||
await state(requiredHandle(refresh.handle), 'complete');
|
||||
expect(upstream.getOperationsByCursor).toHaveBeenCalledTimes(1);
|
||||
|
||||
Reference in New Issue
Block a user