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