Sha256: 1273294df6807ed7d46c789d71b5fa20e9d262db40e8fc5680465620085d3389
Contents?: true
Size: 933 Bytes
Versions: 10
Compression:
Stored size: 933 Bytes
Contents
import { testComponentSnapshotsWithFixtures } from '@theforeman/test'; import { importTemplates, exportTemplates, } from '../__fixtures__/templateSyncResult.fixtures'; import TemplateSyncResult from '../TemplateSyncResult'; const fixtures = { 'should render export result': { syncResult: { resultAction: 'export', templates: exportTemplates, repo: 'https://github.com/theforeman/community-templates.git', branch: 'master', gitUser: 'Admin', }, history: {}, }, 'should render empty state when no templates synced': { syncResult: { templates: [], }, history: {}, }, 'should render import result': { syncResult: { resultAction: 'import', templates: importTemplates, repo: '/home/vagrant/templates', }, history: {}, }, }; describe('TemplateSyncResult', () => testComponentSnapshotsWithFixtures(TemplateSyncResult, fixtures));
Version data entries
10 entries across 10 versions & 1 rubygems