Sha256: b430ddeee8d3ae2e576653a4b6ad1900564bf1b604d5dc2eccd35590ef551b9c
Contents?: true
Size: 658 Bytes
Versions: 69
Compression:
Stored size: 658 Bytes
Contents
import { testComponentSnapshotsWithFixtures } from '@theforeman/test'; import { TASKS_DASHBOARD_AVAILABLE_TIMES, TASKS_DASHBOARD_AVAILABLE_QUERY_STATES, } from '../../TasksDashboardConstants'; import { MOCKED_DATA } from './TasksCardsGrid.fixtures'; import TasksCardsGrid from './TasksCardsGrid'; const fixtures = { 'render with minimal props': {}, 'render with props': { time: TASKS_DASHBOARD_AVAILABLE_TIMES.WEEK, query: { state: TASKS_DASHBOARD_AVAILABLE_QUERY_STATES.RUNNING }, data: MOCKED_DATA, updateQuery: jest.fn(), }, }; describe('TasksCardsGrid', () => testComponentSnapshotsWithFixtures(TasksCardsGrid, fixtures));
Version data entries
69 entries across 69 versions & 1 rubygems