Sha256: 50ed1126fa544089d83a0a8109cff594a63e276d1f26b3d5a87f2e7b2ea468c1
Contents?: true
Size: 912 Bytes
Versions: 32
Compression:
Stored size: 912 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, pagination: { page: 1, perPage: 20, }, handlePagination: () => {}, }, };
Version data entries
32 entries across 32 versions & 1 rubygems