Sha256: 1bb4ee49c8cf3a2287a87400bd34482bcacd183ca16ffb039fe284b63d74cbdd
Contents?: true
Size: 628 Bytes
Versions: 142
Compression:
Stored size: 628 Bytes
Contents
import { testSelectorsSnapshotWithFixtures } from 'react-redux-test-utils'; import { selectIsPollingTask, selectIsPollingTasks, } from '../TaskSelectors'; const state = { intervals: { TEST_POLL_TASK: 1, TEST_TASK_SEARCH: 3, }, }; const fixtures = { 'selects if polling a task': () => selectIsPollingTask(state, 'TEST'), 'selects if not polling a task': () => selectIsPollingTask({}), 'selects if polling tasks': () => selectIsPollingTasks(state, 'TEST'), 'selects if not polling tasks': () => selectIsPollingTasks({}), }; describe('Task selectors', () => testSelectorsSnapshotWithFixtures(fixtures));
Version data entries
142 entries across 142 versions & 1 rubygems