batoulapps / adhan-js

High precision Islamic prayer time library for JavaScript
MIT License
378 stars 86 forks source link

fix(dependencies): fix circular dependency #144

Closed z3bi closed 1 year ago

z3bi commented 1 year ago

Moves isLeapYear to DateUtils.ts to prevent DateUtils.ts from having a circular dependency to Astronomical.ts

codecov[bot] commented 1 year ago

Codecov Report

Merging #144 (92ba45a) into develop (ff91470) will decrease coverage by 0.01%. The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop     #144      +/-   ##
===========================================
- Coverage    99.22%   99.22%   -0.01%     
===========================================
  Files           19       19              
  Lines          646      645       -1     
  Branches       123      123              
===========================================
- Hits           641      640       -1     
  Misses           5        5              
Impacted Files Coverage Δ
src/Astronomical.ts 100.00% <100.00%> (ø)
src/DateUtils.ts 100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more