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
Updated by The Foreman Bot over 6 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/5516 added
Updated by Ohad Levy over 6 years ago
- Translation missing: en.field_release set to 353
Updated by Anonymous over 6 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset c28d51eb132cc079dd7a5ad7fbef63aba3cca2ab.
Updated by The Foreman Bot over 6 years ago
- Pull request https://github.com/theforeman/foreman/pull/5720 added
Updated by Ohad Levy over 6 years ago
- Translation missing: en.field_release changed from 353 to 330
Actions