mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-23 01:54:18 -08:00
Prettify test file
This commit is contained in:
parent
504181d809
commit
3a31f2b821
1 changed files with 9 additions and 9 deletions
|
@ -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();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue