osrd icon indicating copy to clipboard operation
osrd copied to clipboard

front: add unit tests for stdcm simulation report sheet

Open Akctarus opened this issue 1 year ago • 1 comments

closes #7816

Akctarus avatar Jul 08 '24 13:07 Akctarus

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 55.76923% with 23 lines in your changes missing coverage. Please review.

Project coverage is 28.11%. Comparing base (580140d) to head (98bf082).

Files Patch % Lines
...cations/stdcm/utils/formatSimulationReportSheet.ts 80.55% 4 Missing and 3 partials :warning:
...cations/stdcm/components/SimulationReportSheet.tsx 0.00% 5 Missing :warning:
...nt/src/applications/stdcm/views/StdcmResultsV2.tsx 0.00% 4 Missing :warning:
...s/stdcmV2/components/StdcmResults/StdcmResults.tsx 0.00% 4 Missing :warning:
...tions/stdcm/components/SimulationReportSheetV2.tsx 0.00% 1 Missing :warning:
...ront/src/applications/stdcm/views/StdcmResults.tsx 0.00% 1 Missing :warning:
...cmV2/components/StdcmResults/StdcmResultsTable.tsx 0.00% 1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff              @@
##                dev    #7979      +/-   ##
============================================
+ Coverage     28.06%   28.11%   +0.05%     
  Complexity     2081     2081              
============================================
  Files          1289     1289              
  Lines        157717   157740      +23     
  Branches       3116     3131      +15     
============================================
+ Hits          44260    44347      +87     
+ Misses       111582   111503      -79     
- Partials       1875     1890      +15     
Flag Coverage Δ
core 75.11% <ø> (ø)
editoast 70.75% <ø> (-0.05%) :arrow_down:
front 9.99% <55.76%> (+0.08%) :arrow_up:
gateway 2.34% <ø> (ø)
railjson_generator 87.49% <ø> (ø)
tests 73.18% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov-commenter avatar Jul 08 '24 14:07 codecov-commenter