Sha256: 8ddb0f5a9a1efe6658e83ee0b35189a2b056f623733775bfb0d5cef00e499059
Contents?: true
Size: 866 Bytes
Versions: 57
Compression:
Stored size: 866 Bytes
Contents
const items = [ { name: 'host', link: '/link', status: 'success', actions: [], }, { name: 'host2', link: '/link2', status: 'success', actions: [], }, ]; export const HostItemFixtures = { renders: { name: 'Host1', link: '/host1', status: 'success', actions: [], }, }; export const HostStatusFixtures = { renders: { status: 'success', }, }; export const TargetingHostsFixtures = { renders: { apiStatus: 'RESOLVED', items, }, 'renders with error': { apiStatus: 'ERROR', items, }, 'renders with loading': { apiStatus: 'PENDING', items: [], }, }; export const TargetingHostsPageFixtures = { renders: { handleSearch: () => {}, searchQuery: '', apiStatus: 'RESOLVED', items, totalHosts: 1, page: 1, handlePagination: () => {}, }, };
Version data entries
57 entries across 57 versions & 1 rubygems