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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: resolved nextRouter error by adding a mock in jest.setup.js #84

Merged
merged 2 commits into from
Jun 9, 2023

Conversation

mertcanaltin
Copy link
Member

@mertcanaltin mertcanaltin commented Jun 8, 2023

useRouter() in a new test; I realized they need a mock

issue: #83

solved: I do this in jest.setup.js instead of executing it in every test and now I can start new tests without errors

and a DomainTable test was created 馃暫

client/jest.setup.js Outdated Show resolved Hide resolved
@mertcanaltin mertcanaltin requested a review from k61b June 9, 2023 08:28
@k61b k61b merged commit 24c1d98 into Trendyol:main Jun 9, 2023
3 checks passed
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.

None yet

2 participants