Skip to content

feat: introduce URLSession extension

1a9611b
Select commit
Loading
Failed to load commit list.
Open

feat: introduce URLSession extension #81

feat: introduce URLSession extension
1a9611b
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Feb 25, 2026 in 1s

98.99% (target 50.00%)

View this Pull Request on Codecov

98.99% (target 50.00%)

Details

Codecov Report

❌ Patch coverage is 98.63014% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 98.99%. Comparing base (c9474e6) to head (1a9611b).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...tTests/URLSession/URLSessionRetryPolicyTests.swift 97.86% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #81      +/-   ##
==========================================
- Coverage   99.12%   98.99%   -0.13%     
==========================================
  Files          19       24       +5     
  Lines        1361     1684     +323     
==========================================
+ Hits         1349     1667     +318     
- Misses         12       17       +5     
Files with missing lines Coverage Δ
...on/Classes/Extensions/URLSession+RetryPolicy.swift 100.00% <100.00%> (ø)
Tests/TyphoonTests/Helpers/Counter.swift 100.00% <100.00%> (ø)
Tests/TyphoonTests/Mocks/MockURLProtocol.swift 100.00% <100.00%> (ø)
...ts/TyphoonTests/Mocks/MockURLProtocolHandler.swift 100.00% <100.00%> (ø)
...rvice/RetryPolicyServiceRetryWithResultTests.swift 100.00% <100.00%> (ø)
...itTests/RetryService/RetryPolicyServiceTests.swift 100.00% <100.00%> (ø)
...ts/UnitTests/RetryService/RetrySequenceTests.swift 99.68% <ø> (ø)
...sts/Strategies/ExponentialDelayStrategyTests.swift 100.00% <ø> (ø)
...Tests/Strategies/FibonacciDelayStrategyTests.swift 100.00% <ø> (ø)
...nitTests/Strategies/LinearDelayStrategyTests.swift 100.00% <ø> (ø)
... and 2 more