webpack/assets/javascripts/react_app/components/common/table/components/__tests__/NameCell.test.js
import { testComponentSnapshotsWithFixtures } from '@theforeman/test';
import NameCell from '../NameCell';
const fixtures = {
'should render active link': {
active: true,
id: 1,
name: 'KVM',
controller: 'models',
},
'should render disabled link': {
id: 2,
name: 'HyperV',
controller: 'models',
},
};
describe('NameCell', () =>
testComponentSnapshotsWithFixtures(NameCell, fixtures));