Sha256: d8b59a87af990d0fd8de03345e93e95644fdafd79bdd6fd427d58d4f7ae34fab

Contents?: true

Size: 577 Bytes

Versions: 70

Compression:

Stored size: 577 Bytes

Contents

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

import Locks from '../Locks';

const fixtures = {
  'render without Props': {},
  'render with Props': {
    locks: [
      {
        name: 'task_owner',
        exclusive: false,
        resource_type: 'User',
        resource_id: 4,
      },
      {
        name: 'task_owner2',
        exclusive: false,
        resource_type: 'User',
        resource_id: 2,
      },
    ],
  },
};

describe('Locks', () => {
  describe('rendering', () =>
    testComponentSnapshotsWithFixtures(Locks, fixtures));
});

Version data entries

70 entries across 70 versions & 1 rubygems

Version Path
foreman-tasks-10.0.2 webpack/ForemanTasks/Components/TaskDetails/Components/__tests__/Locks.test.js
foreman-tasks-10.0.1 webpack/ForemanTasks/Components/TaskDetails/Components/__tests__/Locks.test.js
foreman-tasks-10.0.0 webpack/ForemanTasks/Components/TaskDetails/Components/__tests__/Locks.test.js
foreman-tasks-9.2.3 webpack/ForemanTasks/Components/TaskDetails/Components/__tests__/Locks.test.js
foreman-tasks-9.2.2 webpack/ForemanTasks/Components/TaskDetails/Components/__tests__/Locks.test.js
foreman-tasks-9.2.1 webpack/ForemanTasks/Components/TaskDetails/Components/__tests__/Locks.test.js
foreman-tasks-9.2.0 webpack/ForemanTasks/Components/TaskDetails/Components/__tests__/Locks.test.js
foreman-tasks-9.1.1 webpack/ForemanTasks/Components/TaskDetails/Components/__tests__/Locks.test.js
foreman-tasks-9.0.4 webpack/ForemanTasks/Components/TaskDetails/Components/__tests__/Locks.test.js
foreman-tasks-9.1.0 webpack/ForemanTasks/Components/TaskDetails/Components/__tests__/Locks.test.js
foreman-tasks-9.0.2 webpack/ForemanTasks/Components/TaskDetails/Components/__tests__/Locks.test.js
foreman-tasks-9.0.1 webpack/ForemanTasks/Components/TaskDetails/Components/__tests__/Locks.test.js
foreman-tasks-8.3.3 webpack/ForemanTasks/Components/TaskDetails/Components/__tests__/Locks.test.js
foreman-tasks-9.0.0 webpack/ForemanTasks/Components/TaskDetails/Components/__tests__/Locks.test.js
foreman-tasks-8.2.1 webpack/ForemanTasks/Components/TaskDetails/Components/__tests__/Locks.test.js
foreman-tasks-8.1.4 webpack/ForemanTasks/Components/TaskDetails/Components/__tests__/Locks.test.js
foreman-tasks-8.3.2 webpack/ForemanTasks/Components/TaskDetails/Components/__tests__/Locks.test.js
foreman-tasks-8.3.1 webpack/ForemanTasks/Components/TaskDetails/Components/__tests__/Locks.test.js
foreman-tasks-8.1.3 webpack/ForemanTasks/Components/TaskDetails/Components/__tests__/Locks.test.js
foreman-tasks-8.3.0 webpack/ForemanTasks/Components/TaskDetails/Components/__tests__/Locks.test.js