Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SIMSBIOHUB-500/140: Purge Old SIMS Code #1249

Merged
merged 6 commits into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/src/components/alert/FormikErrorSnackbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const FormikErrorSnackbar = () => {
}

setOpenSnackbar({ open: true, msg: 'One or more fields are invalid.' });
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [submitCount, isSubmitting]);

const closeSnackBar = () =>
Expand Down
18 changes: 0 additions & 18 deletions app/src/components/attachments/EditFileWithMeta.tsx

This file was deleted.

65 changes: 0 additions & 65 deletions app/src/components/boundary/FullScreenViewMapDialog.tsx

This file was deleted.

44 changes: 0 additions & 44 deletions app/src/components/chips/SubmitStatusChip.tsx

This file was deleted.

46 changes: 0 additions & 46 deletions app/src/components/data-grid/DatePickerDataGrid.tsx

This file was deleted.

12 changes: 0 additions & 12 deletions app/src/components/dialog/ComponentDialog.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,6 @@ const renderContainer = ({ dialogTitle, open = true }: { dialogTitle: string; op
};

describe('ComponentDialog', () => {
it.skip('matches the snapshot when not open', () => {
const { baseElement } = renderContainer({ dialogTitle: 'this is a test', open: false });

expect(baseElement).toMatchSnapshot();
});

it.skip('matches snapshot when open', () => {
const { baseElement } = renderContainer({ dialogTitle: 'this is a test' });

expect(baseElement).toMatchSnapshot();
});

it('calls the onClose prop when `Close` button is clicked', async () => {
const { findByText } = renderContainer({ dialogTitle: 'this is a test' });

Expand Down
58 changes: 0 additions & 58 deletions app/src/components/dialog/DialogVisual.tsx

This file was deleted.

69 changes: 0 additions & 69 deletions app/src/components/dialog/ErrorDialog.test.tsx

This file was deleted.

18 changes: 0 additions & 18 deletions app/src/components/dialog/YesNoDialog.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,24 +29,6 @@ const renderContainer = ({
};

describe('EditDialog', () => {
it.skip('matches the snapshot when not open', () => {
const { baseElement } = renderContainer({ dialogTitle: 'this is a test', dialogText: 'this is text', open: false });

expect(baseElement).toMatchSnapshot();
});

it.skip('matches the snapshot when open, with no error message', () => {
const { baseElement } = renderContainer({ dialogTitle: 'this is a test', dialogText: 'this is text' });

expect(baseElement).toMatchSnapshot();
});

it.skip('matches snapshot when open, with error message', () => {
const { baseElement } = renderContainer({ dialogTitle: 'this is a test', dialogText: 'This is an error' });

expect(baseElement).toMatchSnapshot();
});

it('calls the onYes prop when `Yes` button is clicked', async () => {
const { findByText } = renderContainer({ dialogTitle: 'this is a test', dialogText: 'this is text' });

Expand Down
Loading
Loading