-
Notifications
You must be signed in to change notification settings - Fork 1
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
mai/fix-added darkmode changes for register #445
mai/fix-added darkmode changes for register #445
Conversation
Gridiron Survivor Application
Project name: Gridiron Survivor Application
Only deployments on the production branch are activated automatically. If you'd like to activate this deployment, navigate to your deployments. Learn more about Appwrite Function deployments.
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
app/(main)/register/page.test.tsx
Outdated
@@ -47,7 +47,11 @@ describe('Register', () => { | |||
beforeEach(() => { | |||
jest.clearAllMocks(); | |||
|
|||
render(<Register />); | |||
render( | |||
<div className="dark"> |
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.
Is this required? I thought our default tailwind theme was already dark?
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.
Ah, I thought I had to "mock' per se the dark theme in the testing, but I removed the div
tag and the test is still passing. Thanks for bringing this up!
fixes #412