Sha256: 7519c8fda48ab8b577e4574be0c8e4a14556bcc8bc0b9747f5170869cff7fa36

Contents?: true

Size: 543 Bytes

Versions: 33

Compression:

Stored size: 543 Bytes

Contents

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

import AvailableRolesList from './AvailableRolesList';

const noop = () => {};

const fixtures = {
  'should render': {
    unassignedRoles: [
      { id: 1, name: 'fake.role' },
      { id: 2, name: 'test.role' },
    ],
    pagination: { page: 1, perPage: 25 },
    itemCount: 2,
    onListingChange: noop,
    onAddRole: noop,
    loading: false,
  },
};

describe('AvailableRolesList', () =>
  testComponentSnapshotsWithFixtures(AvailableRolesList, fixtures));

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
foreman_ansible-6.1.1 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-6.0.2 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-6.1.0 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-6.0.1 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-5.1.3 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-6.0.0 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-5.1.2 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-5.1.1 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-5.1.0 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-4.0.3.5 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-4.0.3.4 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-4.0.3.3 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-4.0.3.2 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-5.0.1 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-4.0.5 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-4.0.3.1 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-4.0.4 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-5.0.0 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-4.0.3 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-4.0.2 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js