Sha256: 4e8195ab1cedf2efaab9b74206609c57be6c80c026e287cf970f8245fd313a76
Contents?: true
Size: 841 Bytes
Versions: 10
Compression:
Stored size: 841 Bytes
Contents
import { testSelectorsSnapshotWithFixtures } from '@theforeman/test'; import { importSettings, exportSettings, stateFactory, } from '../__fixtures__/templateSyncSettings.fixtures'; import { selectImportSettings, selectExportSettings, selectLoadingSettings, selectError, } from '../NewTemplateSyncSelectors'; const fixtures = { 'should return import settings': () => selectImportSettings(stateFactory({ importSettings })), 'should return export settings': () => selectExportSettings(stateFactory({ exportSettings })), 'should return loading settings': () => selectLoadingSettings(stateFactory({ loadingSettings: true })), 'should return loading error': () => selectError(stateFactory({ error: 'Error' })), }; describe('NewTemplateSyncSelectors', () => testSelectorsSnapshotWithFixtures(fixtures));
Version data entries
10 entries across 10 versions & 1 rubygems