Sha256: 940a844625b2a55c76d24231c540b702d4c7033baaee54b20f7f3b81804ae353
Contents?: true
Size: 497 Bytes
Versions: 16
Compression:
Stored size: 497 Bytes
Contents
import { testActionSnapshotWithFixtures } from 'react-redux-test-utils'; import API from 'foremanReact/API'; import { handleToggle } from '../AutoUploadSwitcherActions'; import { handleToggleResponse } from '../AutoUploadSwitcher.fixtures'; jest.mock('foremanReact/API'); API.post.mockImplementation(async () => handleToggleResponse); const fixtures = { 'should handleToggle': () => handleToggle(), }; describe('AutoUploadSwitcher actions', () => testActionSnapshotWithFixtures(fixtures));
Version data entries
16 entries across 16 versions & 1 rubygems