Sha256: 24ecb540287c9bb236d4e3a3f36f4098f02e7f13746f1fa3e74882a5526e23a6
Contents?: true
Size: 608 Bytes
Versions: 164
Compression:
Stored size: 608 Bytes
Contents
import { testComponentSnapshotsWithFixtures } from 'react-redux-test-utils'; import OptionTooltip from '../'; const onClose = () => {}; const options = [ { key: 'option1', value: true, label: 'One', }, { key: 'option2', value: false, label: 'Two', }, ]; const fixtures = { 'renders ': { icon: 'test', id: 'test', options: [], onClose, }, 'renders a list of options with default values ': { icon: 'test', id: 'test', options, onClose, }, }; describe('OptionTooltip', () => testComponentSnapshotsWithFixtures(OptionTooltip, fixtures));
Version data entries
164 entries across 164 versions & 1 rubygems