Sha256: 34db3f96b7ce531e56501ee11b78fcfc03100df9895c673ac977b53a38ac68d2
Contents?: true
Size: 583 Bytes
Versions: 11
Compression:
Stored size: 583 Bytes
Contents
import { testComponentSnapshotsWithFixtures } from 'react-redux-test-utils'; import Locks from '../Locks'; const fixtures = { 'render without Props': {}, 'render with Props': { locks: [ { name: 'task_owner', exclusive: false, resource_type: 'User', resource_id: 4, }, { name: 'task_owner2', exclusive: false, resource_type: 'User', resource_id: 2, }, ], }, }; describe('Locks', () => { describe('rendering', () => testComponentSnapshotsWithFixtures(Locks, fixtures)); });
Version data entries
11 entries across 11 versions & 1 rubygems