Prettify test file

This commit is contained in:
Vim USDS 2022-07-29 17:16:23 -07:00
parent 504181d809
commit 3a31f2b821

View file

@ -1,15 +1,15 @@
import React from 'react';
import { render } from '@testing-library/react';
import {render} from '@testing-library/react';
import {LocalizedComponent} from '../../test/testHelpers';
import TractDemographics from './TractDemographics';
describe('rendering of TractDemographics Component', () => {
const {asFragment} = render(
<LocalizedComponent>
<TractDemographics />
</LocalizedComponent>,
);
it('checks if component renders', () => {
expect(asFragment()).toMatchSnapshot();
});
const {asFragment} = render(
<LocalizedComponent>
<TractDemographics />
</LocalizedComponent>,
);
it('checks if component renders', () => {
expect(asFragment()).toMatchSnapshot();
});
});