Skip to content

Commit 19c54c3

Browse files
committed
refactor: Shorten realtime tests
1 parent 0ee2f46 commit 19c54c3

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

test/react/integration/realtime.spec.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -303,13 +303,8 @@ describe('Real-time & WebSocket Integration Tests', () => {
303303
it('should handle window focus revalidation', async () => {
304304
let requestCount = 0;
305305

306-
global.fetch = jest.fn().mockImplementation((url) => {
306+
global.fetch = jest.fn().mockImplementation(() => {
307307
requestCount++;
308-
console.log(
309-
'🚀 ~ REQUEST COUNT global.fetch=jest.fn ~ url:',
310-
requestCount,
311-
url,
312-
);
313308

314309
return Promise.resolve({
315310
ok: true,
@@ -327,7 +322,6 @@ describe('Real-time & WebSocket Integration Tests', () => {
327322
cacheTime: 500,
328323
});
329324

330-
console.log('🚀 ~ FocusComponent ~ data:', data);
331325
return (
332326
<div data-testid="focus-status">{data?.status || 'No Status'}</div>
333327
);

0 commit comments

Comments
 (0)