Sha256: cf11847229f192fb88dec012eed88e1e1b0a381e7994cc9223ecb1d7ad3ab334
Contents?: true
Size: 510 Bytes
Versions: 2
Compression:
Stored size: 510 Bytes
Contents
import { testComponentSnapshotsWithFixtures } from 'react-redux-test-utils'; import ReportViewer from '../ReportViewer'; const data = [ { name: 'report 1', status: 'done' }, { name: 'report 2', status: 'pending' }, ]; const fixtures = { 'should render the report viewer': { hidden: false, report: data, }, 'should render the hidden report viewer': { hidden: true, report: data, }, }; describe('ReportViewer', () => testComponentSnapshotsWithFixtures(ReportViewer, fixtures));
Version data entries
2 entries across 2 versions & 1 rubygems