Sha256: 61a3b37a6728ca7029f1253e651b8aff796fdc5ed66241fcf3f6836e57e9f2ed
Contents?: true
Size: 664 Bytes
Versions: 144
Compression:
Stored size: 664 Bytes
Contents
import { testActionSnapshotWithFixtures } from 'react-redux-test-utils'; import { getTaskSuccessResponse } from './task.fixtures'; import { startPollingTask, stopPollingTask, startPollingTasks, stopPollingTasks, toastTaskFinished, } from '../TaskActions'; describe('task actions', () => testActionSnapshotWithFixtures({ 'can search tasks': () => startPollingTasks('TEST'), 'can stop searching tasks': () => stopPollingTasks('TEST'), 'can poll a task': () => startPollingTask('TEST', { id: '12345' }), 'can stop polling a task': () => stopPollingTask('TEST'), 'can toast a finished task': () => toastTaskFinished(getTaskSuccessResponse), }));
Version data entries
144 entries across 144 versions & 1 rubygems