Sha256: 2cb68b712ff97093cb777f511345becf4c9ea5cba41868fbd9dddc2807fbe14b
Contents?: true
Size: 780 Bytes
Versions: 12
Compression:
Stored size: 780 Bytes
Contents
import { testComponentSnapshotsWithFixtures } from 'react-redux-test-utils'; import SyncedTemplate from '../SyncedTemplate'; import { noName, epel, coreos, filteredOut, } from '../../__fixtures__/templateSyncResult.fixtures'; const fixtures = { 'should render template with invalid metadata': { template: noName, editPath: '', }, 'should render template with validation errors': { template: epel, editPath: '/templates/:id/edit', }, 'should render template without errros': { template: coreos, editPath: '/ptables/:id/edit', }, 'should render skipped template': { template: filteredOut, editPath: '/ptables/:id/edit', }, }; describe('SyncedTemplate', () => testComponentSnapshotsWithFixtures(SyncedTemplate, fixtures));
Version data entries
12 entries across 12 versions & 1 rubygems