mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-03 03:24:19 -07:00
Adds download packet to methodology page (Sprint 4 designs) (#578)
* adds responsive download packet * adds tests and intl
This commit is contained in:
parent
e8bafc813d
commit
b3f63c29f6
7 changed files with 118 additions and 79 deletions
15
client/src/components/DownloadPacket/downloadPacket.test.tsx
Normal file
15
client/src/components/DownloadPacket/downloadPacket.test.tsx
Normal file
|
@ -0,0 +1,15 @@
|
|||
import * as React from 'react';
|
||||
import {render, screen} from '@testing-library/react';
|
||||
import {LocalizedComponent} from '../../test/testHelpers';
|
||||
import DownloadPacket from '.';
|
||||
|
||||
test('download packet component defined', () => {
|
||||
render(
|
||||
<LocalizedComponent>
|
||||
<DownloadPacket />
|
||||
</LocalizedComponent>,
|
||||
);
|
||||
|
||||
screen.getByRole('button', {name: /download packet/i});
|
||||
});
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue