Actions
Refactor #23468
closedCreate a test helper to test a reducer on fixtures
Difficulty:
trivial
Triaged:
Description
The idea was implemented in the BreadcrumbBar component:
https://github.com/theforeman/foreman/blob/develop/webpack/assets/javascripts/react_app/components/BreadcrumbBar/__tests__/BreadcrumbBarReducer.test.js#L50-L53
Since this is going to be used in other tests, it is a good idea to move it into the test helpers:
https://github.com/theforeman/foreman/blob/develop/webpack/assets/javascripts/react_app/common/testHelpers.js
Actions