Sha256: e4e3100a7e7e3b9ca359fe8a733c189022169d2e6b23efdb65e4e2781c5c9848
Contents?: true
Size: 691 Bytes
Versions: 163
Compression:
Stored size: 691 Bytes
Contents
import React from 'react'; import TestRenderer from 'react-test-renderer'; import SubscriptionDetailInfo from '../SubscriptionDetailInfo'; import { successState } from './subscriptionDetails.fixtures'; describe('subscriptions detail associations page', () => { it('renders correctly', () => { const testRenderer = TestRenderer .create(<SubscriptionDetailInfo subscriptionDetails={successState} />); const testInstance = testRenderer.root; expect(testRenderer.toJSON()).toMatchSnapshot(); expect(testInstance.findAllByType('h2')[0].children[0]).toBe('Subscription Info'); expect(testInstance.findAllByType('h2')[1].children[0]).toBe('System Purpose'); }); });
Version data entries
163 entries across 163 versions & 1 rubygems