Sha256: 9f324e93d81cd7a7ca129f191f93d35fbe0b338bb83ac300f3bc427277e38111
Contents?: true
Size: 667 Bytes
Versions: 195
Compression:
Stored size: 667 Bytes
Contents
import React from 'react'; import TestRenderer from 'react-test-renderer'; import SubscriptionDetailAssociations from '../SubscriptionDetailAssociations'; import { successState } from './subscriptionDetails.fixtures'; describe('subscriptions detail associations page', () => { it('renders correctly', () => { const testRenderer = TestRenderer .create(<SubscriptionDetailAssociations subscriptionDetails={successState} />); const testInstance = testRenderer.root; expect(testRenderer.toJSON()).toMatchSnapshot(); expect(testInstance.findAllByType('td')).toHaveLength(6); expect(testInstance.findAllByType('a')).toHaveLength(2); }); });
Version data entries
195 entries across 195 versions & 1 rubygems