-
Notifications
You must be signed in to change notification settings - Fork 6
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
feat(services-jeunes): filtre par catégorie #3342
base: main
Are you sure you want to change the base?
feat(services-jeunes): filtre par catégorie #3342
Conversation
be03a38
to
93a9afd
Compare
755283e
to
645b44d
Compare
jest.mock('next/navigation', () => ({ | ||
usePathname: jest.fn().mockReturnValue('/services-jeunes'), | ||
useSearchParams: () => ({ | ||
getAll: jest.fn().mockReturnValue([]), | ||
}), | ||
})); | ||
|
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.
Tu peux t'inspirer de mockUseRouter
pour intégrer ça directement dans une fonction mockSearchParams
nan ?
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.
C'est possible oui, je vois ça à mon retour après avoir réimplémenter une version avec URLSearchParams
645b44d
to
40db044
Compare
40db044
to
24888b9
Compare
Dépriorisé : À faire après les développements de la campagne sur l'apprentissage