Sha256: db08d43a0a7bc1196b283e3d4aabda7d240b00bbacfccd12ab8d63141a19a41d
Contents?: true
Size: 543 Bytes
Versions: 58
Compression:
Stored size: 543 Bytes
Contents
import React from 'react'; import { render } from '@testing-library/react'; import '@testing-library/jest-dom'; import AnsibleHostDetail from './'; describe('AnsibleHostDetail', () => { it('should show skeleton when loading', () => { const { container } = render( <AnsibleHostDetail status="PENDING" response={{ id: 5, name: 'test.example.com' }} router={{}} history={{}} /> ); expect( container.getElementsByClassName('react-loading-skeleton') ).toHaveLength(5); }); });
Version data entries
58 entries across 58 versions & 1 rubygems