import { testComponentSnapshotsWithFixtures } from 'react-redux-test-utils'; import TableBody from './TableBody'; import { columnsFixtures, rowsFixtures } from './TableFixtures'; const fixtures = { 'renders TableBody': { columns: columnsFixtures, rows: rowsFixtures, }, 'renders TableBody with message': { columns: columnsFixtures, rows: rowsFixtures, message: 'some message', }, }; describe('TableBody', () => testComponentSnapshotsWithFixtures(TableBody, fixtures));