Sha256: cd9f071b3373ac551af09c1ccf88c06835a17059538116d9a3dae14537bd10b8

Contents?: true

Size: 749 Bytes

Versions: 23

Compression:

Stored size: 749 Bytes

Contents

import { testComponentSnapshotsWithFixtures } from '@theforeman/test';

import EntriesFilter from './EntriesFilter';

const onFilterValueChange = () => {};
const onFilterTypeChange = () => {};

const fixtures = {
  'should render for title filter': {
    onFilterTypeChange,
    onFilterValueChange,
    filterType: 'title',
    filterValue: 'version',
  },
  'should render for severity filter': {
    onFilterTypeChange,
    onFilterValueChange,
    filterType: 'severity',
    filterValue: 'low',
  },
  'should render for host filter': {
    onFilterTypeChange,
    onFilterValueChange,
    filterType: 'hostname',
    filterValue: 'foo',
  },
};

describe('EntriresFilter', () =>
  testComponentSnapshotsWithFixtures(EntriesFilter, fixtures));

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
foreman_leapp-0.1.2 webpack/components/PreupgradeReports/components/EntriesFilter.test.js
foreman_leapp-0.1.1 webpack/components/PreupgradeReports/components/EntriesFilter.test.js
foreman_leapp-0.1.0 webpack/components/PreupgradeReports/components/EntriesFilter.test.js