Sha256: 4496e9a5a4e32c825f44c96fc237039e84cbbde554bb4247f236c1d459c212f8
Contents?: true
Size: 893 Bytes
Versions: 13
Compression:
Stored size: 893 Bytes
Contents
import { testComponentSnapshotsWithFixtures } from 'react-redux-test-utils'; import LockTableEntry from '../LockTableEntry'; const noop = () => {}; const fixtures = { 'should render unlock table entry': { hidden: false, disabled: false, onLockTableEntry: noop, additionalData: { rowData: { locked: false } }, }, 'should render locked table entry': { hidden: false, disabled: false, onLockTableEntry: noop, additionalData: { rowData: { locked: true } }, }, 'should render hidden button': { hidden: true, disabled: false, onLockTableEntry: noop, additionalData: {}, }, 'should render disabled button': { hidden: false, disabled: true, onLockTableEntry: noop, additionalData: { rowData: { locked: false } }, }, }; describe('LockTableEntry', () => testComponentSnapshotsWithFixtures(LockTableEntry, fixtures));
Version data entries
13 entries across 13 versions & 1 rubygems