Sha256: d56a971575aa1b72972383cf592da340871360dae1ca30b3b0f85c955ea9ee7e
Contents?: true
Size: 939 Bytes
Versions: 12
Compression:
Stored size: 939 Bytes
Contents
import { testComponentSnapshotsWithFixtures } from 'react-redux-test-utils'; 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
12 entries across 12 versions & 1 rubygems