mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-06 20:44:18 -07:00
- add download page - move main pages tests to their own folder - add download and public eng snapshot test - remove public engagement button on each page - swap index with cejst - update cypress ENDPOINTS - upate gatsby-config sitemap - update snapshots - cypress tests are failing
16 lines
492 B
TypeScript
16 lines
492 B
TypeScript
import * as React from 'react';
|
|
import {render} from '@testing-library/react';
|
|
import {LocalizedComponent} from '../../test/testHelpers';
|
|
import DownloadsPage from '../downloads';
|
|
|
|
describe('rendering of the DatasetContainer', () => {
|
|
const {asFragment} = render(
|
|
<LocalizedComponent>
|
|
<DownloadsPage location={window.location}/>
|
|
</LocalizedComponent>,
|
|
);
|
|
|
|
it('checks if various text fields are visible', () => {
|
|
expect(asFragment()).toMatchSnapshot();
|
|
});
|
|
});
|