Project

General

Profile

« Previous | Next » 

Revision 1291288b

Added by Tomer Brisker almost 3 years ago

Fixes #33003 - Refactor FactChart to use slice pattern (#8657)

  • Fixes #33003, #32899 - Refactor FactChart to use slice pattern

Following the discussion in
https://community.theforeman.org/t/rethinking-react-redux-folder-structure/24183
to use the slice pattern, updating this POC into actual changes to match
the agreed structure.

View differences:

webpack/assets/javascripts/react_app/components/FactCharts/__test__/FactChart.test.js
import { shallow } from '@theforeman/test';
import React from 'react';
import FactChart from '../FactChart';
import { props } from '../FactChart.fixtures';
import { props } from '../fixtures';
describe('factCharts', () => {
it('should render open', () => {

Also available in: Unified diff