codex/pagination-loading-indicator #20

Merged
ksv741 merged 6 commits from codex/pagination-loading-indicator into main 2026-06-18 07:29:36 +03:00
Showing only changes of commit 4f5b141179 - Show all commits

View File

@ -56,6 +56,7 @@ function mockUseBrokerPositions(...positions: BrokerPosition[]) {
asOf: '2026-06-17T00:00:00.000Z',
},
isLoading: false,
isFetching: false,
error: null,
} as any;
});
@ -83,6 +84,7 @@ describe('Broker pages', () => {
},
],
isLoading: false,
isFetching: false,
error: null,
} as any);
@ -110,6 +112,7 @@ describe('Broker pages', () => {
asOf: '2026-06-16T00:00:00.000Z',
},
isLoading: false,
isFetching: false,
error: null,
} as any);
vi.spyOn(operationsHook, 'useBrokerOperations').mockReturnValue({
@ -145,6 +148,7 @@ describe('Broker pages', () => {
asOf: '2026-06-16T00:00:00.000Z',
},
isLoading: false,
isFetching: false,
error: null,
} as any);
mockUseBrokerPositions(
@ -188,6 +192,7 @@ describe('Broker pages', () => {
asOf: '2026-06-17T00:00:00.000Z',
},
isLoading: false,
isFetching: false,
error: null,
} as any);
vi.spyOn(operationsHook, 'useBrokerOperations').mockReturnValue({
@ -199,6 +204,7 @@ describe('Broker pages', () => {
asOf: '2026-06-17T00:00:00.000Z',
},
isLoading: false,
isFetching: false,
error: null,
} as any);
mockUseBrokerPositions(
@ -264,6 +270,7 @@ describe('Broker pages', () => {
asOf: '2026-06-17T00:00:00.000Z',
},
isLoading: false,
isFetching: false,
error: null,
} as any);
vi.spyOn(operationsHook, 'useBrokerOperations').mockReturnValue({
@ -322,6 +329,7 @@ describe('Broker pages', () => {
asOf: '2026-06-17T00:00:00.000Z',
},
isLoading: false,
isFetching: false,
error: null,
} as any);
mockUseBrokerPositions();
@ -361,6 +369,7 @@ describe('Broker pages', () => {
asOf: '2026-06-17T00:00:00.000Z',
},
isLoading: false,
isFetching: false,
error: null,
} as any);
const operationsSpy = vi.spyOn(operationsHook, 'useBrokerOperations').mockImplementation(
@ -431,6 +440,7 @@ describe('Broker pages', () => {
asOf: '2026-06-17T00:00:00.000Z',
},
isLoading: false,
isFetching: false,
error: null,
}) as any,
);