Sha256: 352f2195d9b83d48510a1f14404e01e37ba995a7438d31d8d7879f404da78395
Contents?: true
Size: 774 Bytes
Versions: 10
Compression:
Stored size: 774 Bytes
Contents
import { testComponentSnapshotsWithFixtures } from '@theforeman/test'; 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
10 entries across 10 versions & 1 rubygems