Sha256: 46d566143838b8b27b20605e6de1c3792793b4ff0e2c12024b9c17f4288c1c4e

Contents?: true

Size: 537 Bytes

Versions: 66

Compression:

Stored size: 537 Bytes

Contents

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

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

66 entries across 66 versions & 1 rubygems

Version Path
foreman_ansible-15.0.2 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-15.0.1 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-15.0.0 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-14.2.2 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-14.2.1 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-13.0.7 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-14.2.0 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-14.1.1 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-14.1.0 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-13.0.5 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-14.0.0 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-13.0.4 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-13.0.3 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-13.0.2 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-13.0.1 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-13.0.0 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-12.0.7 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-10.4.4 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-7.1.8 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js
foreman_ansible-12.0.6 webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js