Skip to content

front: add useSimulationResults hook tests#16004

Draft
Maymanaf wants to merge 1 commit intodevfrom
aba/useSimulationResults-hook-test
Draft

front: add useSimulationResults hook tests#16004
Maymanaf wants to merge 1 commit intodevfrom
aba/useSimulationResults-hook-test

Conversation

@Maymanaf
Copy link
Copy Markdown
Contributor

@Maymanaf Maymanaf commented Mar 30, 2026

Critical behaviors covered:

  • no resolved train -> returns undefined results
  • complete data -> returns a valid simulation result
  • partial or incomplete data -> returns an invalid result
  • paced occurrences -> rebuilds the selected train correctly
  • conditional queries -> uses skipToken when prerequisites are missing
  • loading -> returns loading=true when any dependency is fetching

@github-actions github-actions bot added the area:front Work on Standard OSRD Interface modules label Mar 30, 2026
Signed-off-by: Maymanaf <med.aymen.naf@gmail.com>
@Maymanaf Maymanaf force-pushed the aba/useSimulationResults-hook-test branch from ee8ede1 to 6b73724 Compare March 30, 2026 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:front Work on Standard OSRD Interface modules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant