Fixes #23468 - Add a test helper to test reducers with fixtures
The idea of testing a reducer using fixtures was introducedin the BreadcrumBar tests.
Since, other components are going to be tested using this method,it is moved to testHelpers.js to avoid duplication of code.
Signed-off-by: Boaz Shuster <boaz.shuster.github@gmail.com>
Fixes #23468 - Add a test helper to test reducers with fixtures
The idea of testing a reducer using fixtures was introduced
in the BreadcrumBar tests.
Since, other components are going to be tested using this method,
it is moved to testHelpers.js to avoid duplication of code.
Signed-off-by: Boaz Shuster <boaz.shuster.github@gmail.com>