UTNianos / frontend

ISC License
1 stars 1 forks source link

Aumentar cobertura del seguidor. #30

Closed fdemian closed 6 years ago

fdemian commented 6 years ago

Este cambio crea tests para incrementar la cobertura del seguidor. Entre otros cambios, esto agrega tests para el selector del seguidor (verficiar que recompute cuando debe) y refactorea el código para evitar repeticiones.

codecov[bot] commented 6 years ago

Codecov Report

Merging #30 into master will increase coverage by 55.88%. The diff coverage is 80%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master      #30       +/-   ##
===========================================
+ Coverage   27.57%   83.46%   +55.88%     
===========================================
  Files          45       34       -11     
  Lines         359      254      -105     
  Branches       50       31       -19     
===========================================
+ Hits           99      212      +113     
+ Misses        224       42      -182     
+ Partials       36        0       -36
Impacted Files Coverage Δ
src/Seguidor/SeguidorHeading.js 50% <ø> (ø) :arrow_up:
src/Seguidor/Subject/SubjectBadge.js 100% <ø> (ø)
src/Seguidor/Subject/StatusDropdown.js 60% <ø> (ø)
src/Seguidor/Pendientes/Container.js 100% <ø> (ø)
src/Seguidor/YearOfStudy/YearOfStudy.jsx 100% <ø> (ø)
src/Seguidor/Subject/Subject.jsx 100% <ø> (ø)
src/Seguidor/TreeView/SubjectYears.js 100% <ø> (+75%) :arrow_up:
src/Seguidor/Pendientes/Pendientes.js 75% <ø> (ø)
src/Seguidor/Seguidor.jsx 90% <ø> (+25.29%) :arrow_up:
src/Seguidor/Container.js 42.85% <ø> (+42.85%) :arrow_up:
... and 23 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 44553e2...fe4068a. Read the comment docs.