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

Features/219 frontend tests #223

Merged
merged 8 commits into from
Jan 12, 2024
Merged

Conversation

MelissaAutumn
Copy link
Member

@MelissaAutumn MelissaAutumn commented Jan 9, 2024

Fixes #219

This only covers the user store as an example but I figured we should get this out and gradually add to it. I haven't investigated component testing but it should be supported by vitest. (https://vuejs.org/guide/scaling-up/testing.html#component-testing)

It can be run via yarn test or npm test in /frontend.

@MelissaAutumn MelissaAutumn requested a review from devmount January 9, 2024 19:11
@MelissaAutumn MelissaAutumn self-assigned this Jan 9, 2024
Copy link
Collaborator

@devmount devmount left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. I added the missing stores for alerts, calendars and appointments.

frontend/src/stores/appointment-store.js Show resolved Hide resolved
@MelissaAutumn MelissaAutumn merged commit c687fde into main Jan 12, 2024
1 check passed
@MelissaAutumn MelissaAutumn deleted the features/219-frontend-tests branch January 12, 2024 17:57
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.

Frontend Testing
2 participants