Sha256: ed572c01078c5478fa491540c544c2d18ce35a58ade8562255998307effe77dd

Contents?: true

Size: 632 Bytes

Versions: 1

Compression:

Stored size: 632 Bytes

Contents

import { testSelectorsSnapshotWithFixtures } from '@theforeman/test';
import { filterTerm } from '../InventoryFilter.fixtures';
import { inventoryStateWrapper } from '../../../../ForemanRhCloudTestHelpers';
import {
  selectInventoryFilter,
  selectFilterTerm,
} from '../InventoryFilterSelectors';

const state = inventoryStateWrapper({
  inventoryFilter: {
    filterTerm,
  },
});

const fixtures = {
  'should return InventoryFilter': () => selectInventoryFilter(state),
  'should return filterTerm': () => selectFilterTerm(state),
};

describe('InventoryFilter selectors', () =>
  testSelectorsSnapshotWithFixtures(fixtures));

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
foreman_rh_cloud-2.0.7 webpack/ForemanInventoryUpload/Components/InventoryFilter/__tests__/InventoryFilterSelectors.test.js