-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Added unit tests for 1 component (textAnswers) using Vitest and React Testing Library #210
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
package.json
Outdated
"lint-staged": "^13.1.2", | ||
"postcss": "^8.4.31", | ||
"prettier": "^2.8.4", | ||
"prettier-plugin-tailwindcss": "^0.2.3", | ||
"prisma": "^4.10.0", | ||
"prisma": "4.10.0", |
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.
The ^ got removed, can you add that back in?
package.json
Outdated
}, | ||
"dependencies": { | ||
"@next-auth/prisma-adapter": "^1.0.5", | ||
"@prisma/client": "^4.10.0", | ||
"@prisma/client": "4.10.0", |
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.
The ^ is removed here, can you add it back in?
@@ -48,7 +48,7 @@ const InfoPopup = ({ title, PopupInfo }: InfoPopupProps) => { | |||
> | |||
<button | |||
onClick={toggleMoreInformation} | |||
className="absolute top-4 right-4 text-2xl lg:text-4xl" | |||
className="absolute right-4 top-4 text-2xl lg:text-4xl" |
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.
Can you go through and switch these back to their original style order? If it's a prettier issue we can do another prettier PR. The unit tests should all still pass
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.
I added /* prettier-ignore */
above that line so now it won't be affected by prettier.
417cd72
to
c148345
Compare
…ng deployment issues
… follows up on the expectation that the element should be in the render
… causing the change
2b6b8ee
to
ccc53fa
Compare
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.
lgtm! 👍
Initial setup for Vitest & React Testing Library