mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-07-30 13:01:16 -07:00
Allows the user to download CBG list (#318)
* adds initial download CBG box * componentize download packet, adds e2e tests * changes download file url in test to smaller size * improve testing functions * removes underline, colors icon * replace csv with zip for safari security issue
This commit is contained in:
parent
0316906a69
commit
33c3288160
10 changed files with 195 additions and 24 deletions
10
client/src/components/downloadPacket.test.tsx
Normal file
10
client/src/components/downloadPacket.test.tsx
Normal file
|
@ -0,0 +1,10 @@
|
|||
import * as React from 'react';
|
||||
import {render, screen} from '@testing-library/react';
|
||||
import DownloadPacket from './downloadPacket';
|
||||
|
||||
test('download packet component defined', () => {
|
||||
render(<DownloadPacket />);
|
||||
|
||||
screen.getByRole('button', {name: /download packet/i});
|
||||
});
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue