Skip to content

test: add App init, push, axios error, and socket reconnect tests - #894

Merged
RUKAYAT-CODER merged 1 commit into
rinafcode:mainfrom
northersubair:feat/northersubair-app-init-push-axios-socket-tests
Jul 27, 2026
Merged

test: add App init, push, axios error, and socket reconnect tests#894
RUKAYAT-CODER merged 1 commit into
rinafcode:mainfrom
northersubair:feat/northersubair-app-init-push-axios-socket-tests

Conversation

@northersubair

Copy link
Copy Markdown
Contributor

Closes #836
Closes #837
Closes #838
Closes #839

Summary

Adds comprehensive test coverage for App initialization, push notifications, axios error handling, and socket reconnection.

Changes

  • tests/App.test.tsx: 12+ test cases covering initialization phases, failure modes, and session management
  • tests/pushNotifications.test.ts: Push registration tests with mocked HTTP
  • tests/axios.config.test.ts: Error branch coverage for SSL, 401/403/409/429/500, timeout, network errors
  • tests/socketReconnect.test.ts: Reconnection backoff with fake timers

All tests use mocked dependencies and run without network access.

@drips-wave

drips-wave Bot commented Jul 27, 2026

Copy link
Copy Markdown

@northersubair Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@RUKAYAT-CODER

Copy link
Copy Markdown
Contributor

Thank you for contributing to the project.

@RUKAYAT-CODER
RUKAYAT-CODER merged commit 7416e4a into rinafcode:main Jul 27, 2026
1 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment