Sha256: 21897ce542dea8dd3b7e631e48e7777a78b835837ddd4d23f653245ce991ea7f

Contents?: true

Size: 460 Bytes

Versions: 22

Compression:

Stored size: 460 Bytes

Contents

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

import { TASKS_DASHBOARD_AVAILABLE_TIMES } from '../../TasksDashboardConstants';
import TasksTimeRow from './TasksTimeRow';

const fixtures = {
  'render with minimal props': {},
  'render with props': {
    time: TASKS_DASHBOARD_AVAILABLE_TIMES.WEEK,
    updateTime: jest.fn(),
  },
};

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

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
foreman-tasks-0.15.3 webpack/ForemanTasks/Components/TasksDashboard/Components/TasksTimeRow/TasksTimeRow.test.js
foreman-tasks-0.15.2 webpack/ForemanTasks/Components/TasksDashboard/Components/TasksTimeRow/TasksTimeRow.test.js