-
Notifications
You must be signed in to change notification settings - Fork 11
Add unit tests for auth related code #238
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
Conversation
✅ Deploy Preview for ami-storybook canceled.
|
✅ Deploy Preview for ami-web canceled.
|
|
@mihow if we want to add to CI pipeline, this is what I think we should run: |
install pre-commit with: ``` brew install pre-commit pre-commit install ``` Or other options here: https://pre-commit.com/
|
I added the linting & tests to the github workflows and split up the frontend & backend tests so you don't have to wait for django stuff on every frontend change. I also added a pre-commit hook for the ESlint checks so you can catch linting errors before you commit them. Installation instructions here if you don't use it already! https://pre-commit.com/ @annavik feel free to update the github workflows as well, I am pretty new to them. |
mihow
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for so many tests! I think this will help us sleep at night and help us dev without fear!
Fixes #226
Also did some small lint tweaks, so that we can start include scripts for both (frontend) lint and test in pipelines, if we want?
As part of this PR, we also include 2 new libs:
Choice of method and libs is inspired by React Query docs.