Sha256: b2f4c99cd491a04614f704a954a3abc5a5da72eb2bc1b242e48c6aa5378b3fc5

Contents?: true

Size: 533 Bytes

Versions: 11

Compression:

Stored size: 533 Bytes

Contents

import { testComponentSnapshotsWithFixtures } from 'react-redux-test-utils';

import ReportViewer from '../ReportViewer';

const noop = () => {};

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

11 entries across 11 versions & 1 rubygems

Version Path
foreman_acd-0.9.7 webpack/components/ApplicationInstanceReport/components/__tests__/ReportViewer.test.js
foreman_acd-0.9.5 webpack/components/ApplicationInstanceReport/components/__tests__/ReportViewer.test.js
foreman_acd-0.9.4 webpack/components/ApplicationInstanceReport/components/__tests__/ReportViewer.test.js
foreman_acd-0.9.3 webpack/components/ApplicationInstanceReport/components/__tests__/ReportViewer.test.js
foreman_acd-0.9.2.3 webpack/components/ApplicationInstanceReport/components/__tests__/ReportViewer.test.js
foreman_acd-0.9.2.2 webpack/components/ApplicationInstanceReport/components/__tests__/ReportViewer.test.js
foreman_acd-0.9.2.1 webpack/components/ApplicationInstanceReport/components/__tests__/ReportViewer.test.js
foreman_acd-0.9.2 webpack/components/ApplicationInstanceReport/components/__tests__/ReportViewer.test.js
foreman_acd-0.9.1 webpack/components/ApplicationInstanceReport/components/__tests__/ReportViewer.test.js
foreman_acd-0.9.0 webpack/components/ApplicationInstanceReport/components/__tests__/ReportViewer.test.js
foreman_acd-0.7.0 webpack/components/ApplicationInstanceReport/components/__tests__/ReportViewer.test.js