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