Projects/PolyLingo_2025

PolyLingo - 8/3, 8/4-5

JTB 2025. 8. 6. 01:19

8/3

refactor: transform IAP tests to call actual service methods

  • Replace duplicated business logic tests with real TAPService method calls
  • Add comprehensive error scenario testing for production edge cases
  • Restructure test files for better organization:
    • iapService.basic.test.ts: Real method testing
    • iapService.unit.test.ts: Enhanced business logic tests
    • iapService. integration.test.ts: Complex workflow testing
    • iapService.error-scenarios.test.ts: Production error scenarios
  • Fix AsyncStorage mocking and Jest setup issues
  • Achieve 56 passing tests covering real-world IAP functionality

 

8/4-5

 

  • Fix not to require log-in before purchasing products.
  • Revise code to use original_transaction_identifier_ios not apple_id which requires user-login for user-management.