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

Clean up jest mocks #315

Merged
merged 12 commits into from
Sep 10, 2024
Merged

Clean up jest mocks #315

merged 12 commits into from
Sep 10, 2024

Conversation

Saanicc
Copy link
Collaborator

@Saanicc Saanicc commented Sep 9, 2024

In this PR I've cleaned up a few mocks and made them global.
Also made a few minor adjustments to make the code streamlined.

I also updated this component and its corresponding test due to there being a bug with the date handling.
src/components/ChartCard/ChatCardDate.tsx

How to test

Make sure the correct date is shown in the chat card page.
Also make sure the tests don't fail.

@Saanicc Saanicc merged commit fb91fea into main Sep 10, 2024
1 check passed
@Saanicc Saanicc deleted the chore/clean-up-mocks branch September 10, 2024 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants